There was an error while loading. Please reload this page.
1 parent bc62a20 commit f6b6af7Copy full SHA for f6b6af7
1 file changed
.github/workflows/rebuild.yml
@@ -12,7 +12,7 @@
12
name: Rebuild PR
13
14
on:
15
- pull_request:
+ pull_request_target:
16
types: [labeled]
17
workflow_dispatch:
18
inputs:
@@ -52,12 +52,15 @@ jobs:
52
- name: Checkout
53
if: ${{ github.head_ref == '' && env.LABEL == 'rebuild' }}
54
uses: actions/checkout@v4
55
+ with:
56
+ persist-credentials: false
57
58
- name: Checkout merge
59
if: ${{ github.head_ref != '' && env.LABEL == 'rebuild' }}
60
61
with:
62
ref: refs/pull/${{github.event.pull_request.number}}/merge
63
64
65
- name: List Jobs
66
if: ${{ env.LABEL == 'rebuild' }}
0 commit comments