fix(ci): publish job trigger fixed
@@ -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:
