You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is still a low priority potential improvement.
Without this improvement, prior to using an action you would need to scan the whole file for any secrets it uses and make note of that. With this improvement, the user would only need to look at the top of the file where the secrets are declared.
The
secrets.CHARMHUB_TOKEN
andsecrets.GITHUB_TOKEN
secrets used in thepromote_charm.yaml
that is not defined as arguments.https://github.com/canonical/operator-workflows/blob/main/.github/workflows/promote_charm.yaml
Can it be changed to:
So it is clearer, to users the names of secrets to be passed.
Docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_callsecrets
Should I create a pull request for this?
The text was updated successfully, but these errors were encountered: