Skip to content

Commit e218cbd

Browse files
authored
Update testAction.yml
1 parent 1cd511b commit e218cbd

1 file changed

Lines changed: 26 additions & 15 deletions

File tree

.github/workflows/testAction.yml

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
1-
name: Run Azure Login with OIDC
2-
on: workflow_dispatch
1+
name: Run test action
2+
3+
on:
4+
issues:
5+
types: [labeled, closed, reopened]
6+
37
permissions:
48
id-token: write
59
contents: read
10+
611
jobs:
7-
build-and-deploy:
12+
alert:
813
runs-on: windows-latest
14+
name: Syncing to Azure DevOps
915
steps:
10-
- name: Azure login
11-
uses: azure/login@v2
12-
with:
13-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
14-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
15-
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
16-
- name: Sync to ADO
17-
uses: champnic/github-actions-issue-to-work-item@testManagedIdentities
18-
with:
19-
ado_organization: 'microsoft'
20-
ado_project: 'Edge'
21-
ado_area_path: 'Edge\Web Experience\WebView2'
16+
- name: Azure login
17+
uses: azure/login@v2
18+
with:
19+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
20+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
21+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
22+
- name: Sync to ADO
23+
uses: champnic/github-actions-issue-to-work-item@simple-sync
24+
env:
25+
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
26+
with:
27+
label: 'test'
28+
ado_organization: 'microsoft'
29+
ado_project: 'Edge'
30+
ado_area_path: 'Edge\Web Experience\WebView2'
31+
ado_tags: 'WV2_GitHub'
32+
ado_gh_closed_tag: 'WV2_GitHub_Closed'

0 commit comments

Comments
 (0)