Skip to content

Commit e66ad3f

Browse files
authored
Update githubMetrics.yml
1 parent a357b36 commit e66ad3f

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/githubMetrics.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Score issues in sync'd Azure DevOps work items
1+
name: Score Issue
22

33
on:
44
# On issue changes and issue comments, the action will update the
@@ -14,10 +14,20 @@ on:
1414
schedule:
1515
- cron: '0 0 * * *'
1616

17+
permissions:
18+
id-token: write
19+
contents: read
20+
1721
jobs:
1822
metrics:
19-
runs-on: ubuntu-latest
20-
steps:
23+
runs-on: windows-latest
24+
steps:
25+
- name: Azure login
26+
uses: azure/login@v2
27+
with:
28+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
29+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
30+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
2131
- uses: champnic/Porpoise@main
2232
env:
2333
GH_PAT: '${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}'

0 commit comments

Comments
 (0)