File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4040 name : Deploy
4141 runs-on : ubuntu-latest
4242 needs : [test, lint]
43- if : github.event_name != 'pull_request'
43+ if : ${{ github.event_name != 'pull_request' && github.repository == '5e-bits/5e-database' }}
4444 steps :
4545 - uses : actions/checkout@v2
4646 - name : Use Node.js 14.x
5858 name : Github Release
5959 runs-on : ubuntu-latest
6060 needs : [deploy]
61- if : github.event_name != 'pull_request'
61+ if : ${{ github.event_name != 'pull_request' && github.repository == '5e-bits/5e-database' }}
6262 outputs :
6363 new_release_published : ${{ steps.semantic.outputs.steps.semantic.outputs.new_release_published}}
6464 version : ${{ steps.semantic.outputs.new_release_version }}
7777 name : Container Release
7878 runs-on : ubuntu-latest
7979 needs : [github-release]
80- if : ${{needs.github-release.outputs.new_release_published}} == 'true'
80+ if : ${{needs.github-release.outputs.new_release_published == 'true' && github.repository == '5e-bits/5e-database' }}
8181 env :
8282 REGISTRY : ghcr.io
8383 IMAGE_NAME : ${{ github.repository }}
@@ -106,7 +106,7 @@ jobs:
106106 name : Trigger downstream
107107 runs-on : ubuntu-20.04
108108 needs : deploy
109- if : github.ref == 'refs/heads/main'
109+ if : ${{ github.ref == 'refs/heads/main' && github.repository == '5e-bits/5e-database' }}
110110 steps :
111111 - name : Trigger downstream
112112 uses : peter-evans/repository-dispatch@v1
You can’t perform that action at this time.
0 commit comments