Skip to content

Commit

Permalink
Create ado_sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DVAlexHiggs authored May 15, 2024
1 parent 8778679 commit 3e09524
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ado_sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Sync issue to Azure DevOps work item

on:
issues:
types:
[opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned]
issue_comment:
types: [created, edited, deleted]

concurrency:
group: issue-${{ github.event.issue.number }}
cancel-in-progress: false

jobs:
alert:
if: ${{ !github.event.issue.pull_request }}
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: "${{ vars.ADO_ORGANIZATION }}"
ado_project: "${{ vars.ADO_PROJECT_NAME }}"
ado_area_path: "${{ vars.ADO_AREA_PATH }}"
ado_iteration_path: "${{ vars.ADO_ITERATION_PATH }}"
ado_wit: "Product Backlog Item"
ado_new_state: "New"
ado_active_state: "Active"
ado_close_state: "Closed"
ado_bypassrules: true
log_level: 100

0 comments on commit 3e09524

Please sign in to comment.