File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 23
23
jobs :
24
24
close-invalid-repo-sync :
25
25
name : Close invalid Repo Sync PRs
26
- if : github.repository == 'github/docs'
27
26
runs-on : ubuntu-latest
28
27
steps :
29
28
- name : Find pull request
29
+ if : ${{ github.repository == 'github/docs' }}
30
30
uses : juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9
31
31
id : find-pull-request
32
32
with :
35
35
base : main
36
36
37
37
- name : Close pull request if unwanted
38
- if : ${{ steps.find-pull-request.outputs.number }}
38
+ if : ${{ github.repository == 'github/docs' && steps.find-pull-request.outputs.number }}
39
39
uses : actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
40
40
with :
41
41
github-token : ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
You can’t perform that action at this time.
0 commit comments