Skip to content

Commit d0c128d

Browse files
committed
Move workflow defaults to be under the build and push job
They don't need to apply to the check-secrets job and cause it to fail. Signed-off-by: James Slagle <[email protected]>
1 parent 142780c commit d0c128d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/edpm-bootc.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ env:
1414
imagenamespace: ${{ secrets.IMAGENAMESPACE || secrets.QUAY_USERNAME }}
1515
latesttag: latest
1616

17-
defaults:
18-
run:
19-
shell: bash
20-
working-directory: ./bootc
21-
2217
jobs:
2318

2419
check-secrets:
@@ -37,6 +32,11 @@ jobs:
3732
needs: [check-secrets]
3833
if: needs.check-secrets.outputs.have-secrets == 'true'
3934

35+
defaults:
36+
run:
37+
shell: bash
38+
working-directory: ./bootc
39+
4040
steps:
4141
- uses: actions/checkout@v4
4242

0 commit comments

Comments
 (0)