-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |