File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ permissions:
1414
1515jobs :
1616 CLAAssistant :
17+ # The CI bot credentials and protected signature branch only exist upstream.
18+ if : ${{ github.repository == 'vendurehq/vendure' }}
1719 runs-on : ubuntu-latest
1820 steps :
1921 - name : Generate CI Bot Token
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ concurrency:
3030
3131jobs :
3232 deploy :
33+ # Preview deployment credentials are only configured in the upstream repository.
34+ if : ${{ github.repository == 'vendurehq/vendure' }}
3335 runs-on : ubuntu-latest
3436 permissions :
3537 contents : read
Original file line number Diff line number Diff line change 5151
5252 generate-manifest :
5353 name : Generate & commit manifest
54- # Skip fork PRs (can't push back to fork branches) and draft PRs
55- if : ${{ github.event_name == 'push' || (!github.event.pull_request.head.repo.fork && !github.event.pull_request.draft) }}
54+ # The CI bot credentials only exist upstream. Also skip fork and draft PRs.
55+ if : ${{ github.repository == 'vendurehq/vendure' && (github. event_name == 'push' || (!github.event.pull_request.head.repo.fork && !github.event.pull_request.draft) ) }}
5656 runs-on : ubuntu-latest
5757 permissions :
5858 contents : write
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ concurrency:
1818jobs :
1919 generate :
2020 name : Generate & commit docs
21- # Skip fork PRs (can't push back to fork branches) and draft PRs
22- if : ${{ !github.event.pull_request.head.repo.fork && !github.event.pull_request.draft }}
21+ # The CI bot credentials only exist upstream. Also skip fork and draft PRs.
22+ if : ${{ github.repository == 'vendurehq/vendure' && !github.event.pull_request.head.repo.fork && !github.event.pull_request.draft }}
2323 runs-on : ubuntu-latest
2424 permissions :
2525 contents : write
You can’t perform that action at this time.
0 commit comments