Skip to content

Commit

Permalink
Create syncToDevOps.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
elhorton authored Oct 5, 2020
1 parent 541f201 commit b5b3814
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/syncToDevOps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: Sync issue to Azure DevOps work item

"on":
issues:
types:
[opened, edited, deleted, closed, reopened, labeled, unlabeled]

jobs:
alert:
runs-on: ubuntu-latest
steps:
- uses: danhellem/github-actions-issue-to-work-item@master
env:
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_area_path: "${{ secrets.ADO_AREA_PATH }}"
ado_wit: "Bug"
ado_new_state: "New"
ado_close_state: "Done"
ado_bypassrules: false

0 comments on commit b5b3814

Please sign in to comment.