broadshield/Pull Release Label Toggle

Creates or updates a PR label based on Success or Failure of GitHub Action Steps

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
status_true_messageThis is a word like Passing, Success, Found, or 👍no
status_false_messageThis is a word like Error, Failure, Success, Not Found, or 👎no
label_prefixThe prefix of the label to toggle like Unit Tests, DB Dumpno
statusThis is a boolean status that can be passed in to override the detected status. nofalse
github_tokenThe GitHub token to use for authentication. no${{github.token}}
pr_numberThe PR number to change the labels on. This is used when the action is triggered by something other than a PR such as a PR comment, or a push, or anything else. no${{github.number}}
repositoryIf not provided, this is the same as github.repository i.e: The owner and repository name. For example, Codertocat/Hello_World no
generate_onlyIf true, do not update the label, just output the generated namenofalse
use_emojiSwitch the default `Success` to `✅` and `Failed` to `❌`nofalse
use_job_name_as_prefixthe label prefix will be generated from the current action's job name: underscores and hyphens are turned to spaces, first letter of each word is capitalized. Means the `label_prefix` can be empty. `unit_tests` -> `Unit Tests` `spellcheck` -> `Spellcheck` nofalse
namedescription
add_label_nameThe label name to add
remove_label_nameThe label name to remove
repositoryThe repository to update
pr_numberThe pull request that is updated