diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a20e7054..a11b3443 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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' diff --git a/README.md b/README.md index 840e1725..35072b88 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package-lock.json b/package-lock.json index b3ebe736..5213cc23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -173,9 +173,9 @@ "integrity": "sha512-bnoqK579sAYrQbp73wwglccjJ4sfRdKU7WNEZ5FW4K2U6Kc0/eZ5kvXG0JKsEKFB50zrFmfFt52/cvBbZa7eXg==" }, "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" }, "ansi-styles": { "version": "3.2.1",