Skip to content

Commit b5b3814

Browse files
authored
Create syncToDevOps.yml
1 parent 541f201 commit b5b3814

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/syncToDevOps.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
name: Sync issue to Azure DevOps work item
3+
4+
"on":
5+
issues:
6+
types:
7+
[opened, edited, deleted, closed, reopened, labeled, unlabeled]
8+
9+
jobs:
10+
alert:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: danhellem/github-actions-issue-to-work-item@master
14+
env:
15+
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
16+
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
17+
ado_organization: "${{ secrets.ADO_ORGANIZATION }}"
18+
ado_project: "${{ secrets.ADO_PROJECT }}"
19+
ado_area_path: "${{ secrets.ADO_AREA_PATH }}"
20+
ado_wit: "Bug"
21+
ado_new_state: "New"
22+
ado_close_state: "Done"
23+
ado_bypassrules: false

0 commit comments

Comments
 (0)