Skip to content

Commit

Permalink
ci: fix if expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Jun 19, 2024
1 parent 31d4d7d commit d37f3c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ concurrency:
jobs:
deploy:
uses: dhis2/workflows-test/.github/workflows/deploy-pr.yml@main
if: '!github.event.pull_request.repository.fork'
if: !github.event.pull_request.head.repo.fork
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
e2e:
uses: dhis2/workflows-test/.github/workflows/e2e.yml@main
# Skips forks and dependabot PRs
if: '!github.event.push.repository.fork'
if: !github.event.push.repository.fork
secrets: inherit
release:
needs: [lint, test, e2e]
uses: dhis2/workflows-test/.github/workflows/release.yml@main
# Skips forks and dependabot PRs
if: '!github.event.push.repository.fork'
if: !github.event.push.repository.fork
secrets: inherit

0 comments on commit d37f3c2

Please sign in to comment.