The Keyword Releaser will create a release based on the keyword specified in the arguments.
GITHUB_TOKEN
- Required Allows the Action to authenticte with the GitHub API to create the release.
- N/A
- Required - A single keyword. If the keyword is found in a commit message, a release will be created. Although case is ignored, it's suggested to use a unique, uppercase string like
FIXED
,READY_TO_RELEASE
, or maybe evenPINEAPPLE
.
Here's an example workflow that uses the Keyword Releaser action. The workflow is triggered by a PUSH
event and looks for the keyword "FIXED"
.
workflow "keyword-monitor" {
on = "push"
resolves = [ "keyword-releaser" ]
}
action "keyword-releaser" {
uses = "managedkaos/keyword-releaser@master"
secrets = ["GITHUB_TOKEN"]
args = "FIXED"
}