mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
GHA: Fix undefined secret env. var.
Because in github-actions, setting a secret variable isn't enough. You ALSO have to set it again in your YAML. I guess it's assumed in the name of "security" that the person with access to secrets, might not also have access to update YAML. Crazy! Also, while I'm at it. Bump up the execution schedule WRT the check_cirrus_cron workflow - this will give re-run jobs more time to complete. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
4
.github/workflows/rerun_cirrus_cron.yml
vendored
4
.github/workflows/rerun_cirrus_cron.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
schedule:
|
||||
# N/B: This should fire about an hour prior to check_cirrus_cron
|
||||
# so the re-runs have a chance to complete.
|
||||
- cron: '59 22 * * 1-5'
|
||||
- cron: '05 22 * * 1-5'
|
||||
# Debug: Allow triggering job manually in github-actions WebUI
|
||||
workflow_dispatch: {}
|
||||
|
||||
@ -42,6 +42,8 @@ jobs:
|
||||
|
||||
- if: steps.cron.outputs.failures > 0
|
||||
shell: bash
|
||||
env:
|
||||
SECRET_CIRRUS_API_KEY: ${{ secrets.SECRET_CIRRUS_API_KEY }}
|
||||
run: './.github/actions/check_cirrus_cron/rerun_failed_tasks.sh'
|
||||
|
||||
- uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
|
||||
|
Reference in New Issue
Block a user