dc-ag/Azure DevOps Pull Request Notifications

Automatically links a GitHub PR to Azure DevOps Work Item and/or set a custom state for it

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
repo-tokenToken for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}yes
devops-work-item-regexRegex which gets applied to title and body (in this order) to find the DevOpsId (only first match gets used)yes
set-to-stateThe state you want the work item to be set to (exact string match). Keep empty to skip.no
dont-set-state-while-prs-openSet to true if you don't want to set the state while GitHub PRs associated with the DevOps Work Item are still openno
devops-organizationThe url-slug of the devops organizationno
devops-patThe Personal-Access-Token (PAT) to authorize the action to communicate with DevOps. As of now the PAT needs the following rights: - 'Work Items - Read, write, & manage' to move the work item between states - 'Full Access' to link the PR to the work item (currently there is no specific right to only allow this, it only works with full access. Be careful who you give this token!)yes
fail-on-errorIf you don't want the action to fail (and create failed checks) on error (e.g. when # the work item id couldn't be found via the regex or an unforseen error occurs) set # this to false. Setting this to false will also allow partial completion (e.g. only # link pr but not move the state)no
ignore-branches-regexRegex to check branches. If matched the PR won't be assigned any reviewers via this workflowno

no outputs