Skip to content

Commit

Permalink
ci(fix): correct syntax in ghcr_build step check
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobLichterfeld committed Oct 15, 2024
1 parent 9a4e80c commit f6ba2b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ghcr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: Build images
needs: check_paths
# Only run if there are no changes to the github folder and on workflow call, or PRs from forks (to avoid duplicate runs for PRs from non-forks, and to avoid invalid reference format for cache name in PRs from our repo)
if: needs.check_paths.outputs.githubfolder != 'true' && (${{ github.event_name }} == 'workflow_call' || ${{ github.event.pull_request.head.repo.full_name }} != ${{ github.repository }})
if: needs.check_paths.outputs.githubfolder != 'true' && (${{ github.event_name == 'workflow_call' }} || ${{ github.event.pull_request.head.repo.full_name }} != ${{ github.repository }})
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
grafana:
needs: check_paths
# Only run if there are no changes to the github folder and on workflow call, or PRs from forks (to avoid duplicate runs for PRs from non-forks, and to avoid invalid reference format for cache name in PRs from our repo)
if: needs.check_paths.outputs.githubfolder != 'true' && (${{ github.event_name }} == 'workflow_call' || ${{ github.event.pull_request.head.repo.full_name }} != ${{ github.repository }})
if: needs.check_paths.outputs.githubfolder != 'true' && (${{ github.event_name == 'workflow_call' }} || ${{ github.event.pull_request.head.repo.full_name }} != ${{ github.repository }})
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
Expand Down

0 comments on commit f6ba2b0

Please sign in to comment.