Skip to content

Commit

Permalink
Update testAction.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
champnic authored Jul 25, 2024
1 parent 1cd511b commit e218cbd
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions .github/workflows/testAction.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,32 @@
name: Run Azure Login with OIDC
on: workflow_dispatch
name: Run test action

on:
issues:
types: [labeled, closed, reopened]

permissions:
id-token: write
contents: read

jobs:
build-and-deploy:
alert:
runs-on: windows-latest
name: Syncing to Azure DevOps
steps:
- name: Azure login
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Sync to ADO
uses: champnic/github-actions-issue-to-work-item@testManagedIdentities
with:
ado_organization: 'microsoft'
ado_project: 'Edge'
ado_area_path: 'Edge\Web Experience\WebView2'
- name: Azure login
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Sync to ADO
uses: champnic/github-actions-issue-to-work-item@simple-sync
env:
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}"
with:
label: 'test'
ado_organization: 'microsoft'
ado_project: 'Edge'
ado_area_path: 'Edge\Web Experience\WebView2'
ado_tags: 'WV2_GitHub'
ado_gh_closed_tag: 'WV2_GitHub_Closed'

0 comments on commit e218cbd

Please sign in to comment.