File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ concurrency:
2828
2929jobs :
3030 check-dist :
31+ if : ${{ github.repository == 'andykenward/github-actions-cloudflare-pages' }}
3132 runs-on : ubuntu-latest
3233 timeout-minutes : 5
3334 steps :
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ concurrency:
1414
1515jobs :
1616 deploy-delete :
17+ if : ${{ github.repository == 'andykenward/github-actions-cloudflare-pages' }}
1718 permissions :
1819 actions : read
1920 contents : read
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ concurrency:
1010
1111jobs :
1212 deploy-main :
13+ if : ${{ github.repository == 'andykenward/github-actions-cloudflare-pages' }}
1314 permissions :
1415 actions : read
1516 contents : read
Original file line number Diff line number Diff line change @@ -10,24 +10,8 @@ concurrency:
1010 group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1111
1212jobs :
13- fork :
14- if : ${{ github.event.pull_request.head.repo.fork }}
15- permissions :
16- contents : read
17- runs-on : ubuntu-latest
18- timeout-minutes : 1
19- steps :
20- - name : Fork PR notice
21- run : echo 'Fork pull request detected; skipping deploy job that requires repository secrets.'
22- - name : Get PR number
23- run : |
24- echo "PR Number: ${{ github.event.number }}"
25- - name : Get PR number other
26- run : |
27- echo "PR Number: ${{ github.event.pull_request.number }}"
28-
2913 deploy :
30- if : ${{ ! github.event.pull_request.head.repo.fork }}
14+ if : ${{ github.repository == 'andykenward/github-actions-cloudflare-pages' }}
3115 permissions :
3216 actions : read
3317 contents : read
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ concurrency:
1111
1212jobs :
1313 download :
14+ if : ${{ github.repository == 'andykenward/github-actions-cloudflare-pages' }}
1415 permissions :
1516 contents : write
1617 pull-requests : write
4445 body : |
4546 This is an automated PR to update payloads.
4647 types :
48+ if : ${{ github.repository == 'andykenward/github-actions-cloudflare-pages' }}
4749 permissions :
4850 contents : write
4951 pull-requests : write
You can’t perform that action at this time.
0 commit comments