This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prerequisites: | |
# - Create a secret with your PAT token. Permissions needed: repo (all) and read:org | |
# - Create the HELLO_WORLD secret in your environment with some dummy initial value | |
# | |
# Notes: | |
# - You can tell that it works because it masks the secret_body in the echo secret step after it creates the secret 😄 | |
# - If you don't want to have to pass --repo to gh secret set, then put the actions/checkout@v2 step before the gh secret set step | |
name: gh-set-secret |