fix(ci): publish job trigger fixed

This commit is contained in:
Quentin McGaw
2022-06-05 16:01:40 +00:00
parent 684cef6eab
commit f5f65d534a

View File

@@ -93,12 +93,11 @@ jobs:
publish:
if: |
github.event.pull_request.head.repo.full_name == github.repository &&
github.repository == 'qdm12/gluetun' &&
(
github.event_name == 'push' ||
github.event_name == 'release' ||
(github.event_name == 'pull_request' && github.actor != 'dependabot[bot]')
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
)
needs: [verify, codeql]
permissions: