mukulgit123/Azure DevOps Github Integration
Automatically links a GitHub PR to Azure DevOps Work Item and/or set a custom state for it
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-token | Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }} | yes | — |
| devops-work-item-regex | Regex which gets applied to title and body (in this order) to find the DevOpsId (only first match gets used) | yes | — |
| set-to-state | The state you want the work item to be set to (exact string match). Keep empty to skip. | no | — |
| dont-set-state-while-prs-open | Set to true if you don't want to set the state while GitHub PRs associated with the DevOps Work Item are still open | no | — |
| add-pr-link | Set to true if you want to set the url of the PR on the work item | no | — |
| devops-organization | The url-slug of the devops organization | no | — |
| devops-pat | The 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-error | If 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 | — |
Outputs
no outputs