Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
danhellem committed Jan 23, 2023
2 parents b70b5c9 + 9ef40bd commit 3072da4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ jobs:
name: Running Workflow
steps:
- uses: danhellem/github-actions-pr-to-work-item@master
env:
env:
debug: false
ado_token: '${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}'
github_token: '${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}'
ado_organization: '${{ secrets.ADO_ORGANIZATION }}'
ado_project: '${{ secrets.ADO_PROJECT }}'
ado_wit: 'Pull Request'
ado_wit: 'GitHub Pull Request'
ado_new_state: 'New'
ado_active_state: 'Active'
ado_close_state: 'Closed'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Update Azure DevOps work item when a GitHub Issue is updated

The id of the Work Item created or updated

## Example usage
## Example

1. Add a secret named `ADO_PERSONAL_ACCESS_TOKEN` containing an [Azure Personal Access Token](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate) with "read & write" permission for Work Items

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3072da4

Please sign in to comment.