Skip to content

Don't require secrets, otherwise we can't use secrets: inherit#24

Merged
mkurz merged 2 commits intomainfrom
secrets-inherit
May 6, 2022
Merged

Don't require secrets, otherwise we can't use secrets: inherit#24
mkurz merged 2 commits intomainfrom
secrets-inherit

Conversation

@mkurz
Copy link
Copy Markdown
Member

@mkurz mkurz commented May 6, 2022

When using secrets: inherit we can't make the secrets required in the reusable workflow, otherwise we get an error like this one:

Secret username is required, but not provided while calling.

Tested here: https://github.com/playframework/twirl/runs/6329238847?check_suite_focus=true

Copy link
Copy Markdown
Member

@ihostage ihostage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Very cool feature for us. Now we will can to remove a copy&pasted secrets in all repo 🎉

@mkurz
Copy link
Copy Markdown
Member Author

mkurz commented May 6, 2022

Very cool feature for us. Now we will can to remove a copy&pasted secrets in all repo 🎉

Exactly.

@mkurz mkurz merged commit 491ee6f into main May 6, 2022
type: string
required: false
default: 8
secrets:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just need to remove these secrets from README 😉

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes. The documentation... 😉

@ihostage ihostage deleted the secrets-inherit branch May 6, 2022 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants