New feature
This release introduces the secrets
option. If present, the Action will exit and fail if required secrets have not been set. Here's an example:
action "My action" {
uses = "JasonEtco/secrets@master"
secrets = ["API_KEY"]
}
// This will fail because `API_SECRET` wasn't passed!
new Toolkit({ secrets: ['API_KEY', 'API_SECRET'] })
Check out #66 for all the details ✨
What’s Changed
- Add
secrets
option (#66) @JasonEtco