Skip to content

Commit a4b363d

Browse files
committed
.github: check_cirrus_cron work around github bug
So I wondered why our email workflow only reported things for podman... It seems the secrets: inherit is broken and no longer working, I see all jobs on all repos failing with: Error when evaluating 'secrets'. .github/workflows/check_cirrus_cron.yml (Line: 19, Col: 11): Secret SECRET_CIRRUS_API_KEY is required, but not provided while calling. This makes no sense to me I doubled checked the names, nothing change don our side and it is consitent for all projects. Interestingly this same thing passed on March 10 and 11 (on all repos) but failed before and after this as well. Per[1] we are not alone, anyway let's try to get this working again even if it means more duplication. [1] actions/runner#2709 Signed-off-by: Paul Holzinger <[email protected]>
1 parent 37150b4 commit a4b363d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/check_cirrus_cron.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,9 @@ jobs:
1717
# Ref: https://docs.github.com/en/actions/using-workflows/reusing-workflows
1818
call_cron_failures:
1919
uses: containers/podman/.github/workflows/check_cirrus_cron.yml@main
20-
secrets: inherit
20+
secrets:
21+
SECRET_CIRRUS_API_KEY: ${{secrets.SECRET_CIRRUS_API_KEY}}
22+
ACTION_MAIL_SERVER: ${{secrets.ACTION_MAIL_SERVER}}
23+
ACTION_MAIL_USERNAME: ${{secrets.ACTION_MAIL_USERNAME}}
24+
ACTION_MAIL_PASSWORD: ${{secrets.ACTION_MAIL_PASSWORD}}
25+
ACTION_MAIL_SENDER: ${{secrets.ACTION_MAIL_SENDER}}

0 commit comments

Comments
 (0)