1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00

ci: Fix fork conditional (#576)

* ci: Fix fork conditional

* ci: Fix fork conditional

* ci: Fix fork conditional
This commit is contained in:
TwiN 2023-09-23 15:36:19 -04:00 committed by GitHub
parent d2b274e609
commit 8df77b09ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ concurrency:
jobs: jobs:
publish-latest-to-ghcr: publish-latest-to-ghcr:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ (github.event.workflow_run.conclusion == 'success') && (github.event.pull_request.head.repo.full_name == github.repository) }} if: ${{ (github.event.workflow_run.conclusion == 'success') && (github.event.workflow_run.head_repository.full_name == github.repository) }}
permissions: permissions:
contents: read contents: read
packages: write packages: write

View file

@ -10,7 +10,7 @@ concurrency:
jobs: jobs:
publish-latest: publish-latest:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ (github.event.workflow_run.conclusion == 'success') && (github.event.pull_request.head.repo.full_name == github.repository) }} if: ${{ (github.event.workflow_run.conclusion == 'success') && (github.event.workflow_run.head_repository.full_name == github.repository) }}
timeout-minutes: 60 timeout-minutes: 60
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3