Skip to content

Commit

Permalink
sync worked so putting file back
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrappe-msft committed Nov 23, 2023
1 parent 704a7f2 commit 93a4a83
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ado-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Sync GitHub Bugs with ADO

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

jobs:
build:
name: Sync with ADO from GitHub
if: ${{ github.event.label.name == 'bug' || contains(github.event.issue.labels.*.name, 'bug') }}
runs-on: ubuntu-latest
steps:
- name: "Trigger GitHub Sync"
uses: microsoft/gh-sync@main
with:
ado-organization-url: ${{ secrets.ADO_PROJECT_URL }}
ado-project: ${{ secrets.ADO_PROJECT_NAME }}
ado-area-path: ${{ secrets.ADO_AREA_PATH }}
issue-number: ${{ github.event.issue.number }}
github-repo: "microsoft/Windows-Containers"
ado-token: ${{ secrets.ADO_SYNC_TOKEN }}
github-token: ${{ secrets.GHP_TOKEN }}

0 comments on commit 93a4a83

Please sign in to comment.