Skip to content

Commit

Permalink
Move workflow defaults to be under the build and push job
Browse files Browse the repository at this point in the history
They don't need to apply to the check-secrets job and cause it to fail.

Signed-off-by: James Slagle <jslagle@redhat.com>
  • Loading branch information
slagle committed Jan 30, 2025
1 parent 142780c commit d0c128d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/edpm-bootc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ env:
imagenamespace: ${{ secrets.IMAGENAMESPACE || secrets.QUAY_USERNAME }}
latesttag: latest

defaults:
run:
shell: bash
working-directory: ./bootc

jobs:

check-secrets:
Expand All @@ -37,6 +32,11 @@ jobs:
needs: [check-secrets]
if: needs.check-secrets.outputs.have-secrets == 'true'

defaults:
run:
shell: bash
working-directory: ./bootc

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit d0c128d

Please sign in to comment.