Skip to content

ci(secret): pass secrets to reusable workflows #1311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

andrewazores
Copy link
Member

Related to #1304

Secrets are not passed from the "real" GitHub Actions workflow into the composable reusable workflows by default, which I believe is causing the current CI failures (ex. https://github.com/cryostatio/cryostat/actions/runs/3761519894/jobs/6393388169).

According to https://docs.github.com/en/actions/using-workflows/reusing-workflows#passing-inputs-and-secrets-to-a-reusable-workflow , it's as easy as setting the secrets to be inherited by the reusable workflow since they are both in our org.

@andrewazores andrewazores added ci chore Refactor, rename, cleanup, etc. labels Dec 23, 2022
@mergify mergify bot added the safe-to-test label Dec 23, 2022
@andrewazores andrewazores force-pushed the ci-pass-workflow-secret branch 3 times, most recently from 8628e61 to 0891e67 Compare December 23, 2022 17:37
@andrewazores andrewazores merged commit f802cd2 into cryostatio:main Dec 23, 2022
@andrewazores andrewazores deleted the ci-pass-workflow-secret branch December 23, 2022 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Refactor, rename, cleanup, etc. ci safe-to-test
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant