From d0c128d6322f3a69731e2027fd46cb0dd90bf08d Mon Sep 17 00:00:00 2001 From: James Slagle Date: Thu, 30 Jan 2025 12:46:13 -0500 Subject: [PATCH] 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 --- .github/workflows/edpm-bootc.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/edpm-bootc.yaml b/.github/workflows/edpm-bootc.yaml index 2c837bf..6ae4b39 100644 --- a/.github/workflows/edpm-bootc.yaml +++ b/.github/workflows/edpm-bootc.yaml @@ -14,11 +14,6 @@ env: imagenamespace: ${{ secrets.IMAGENAMESPACE || secrets.QUAY_USERNAME }} latesttag: latest -defaults: - run: - shell: bash - working-directory: ./bootc - jobs: check-secrets: @@ -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