-
Notifications
You must be signed in to change notification settings - Fork 49
28 lines (26 loc) · 867 Bytes
/
score.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Score issues in sync'd Azure DevOps work items
on:
# On issue changes and issue comments, the action will update the
# corresponding issue.
issue_comment:
types: [created, edited, deleted]
issues:
types: [opened, edited, deleted, labeled, unlabeled]
# But we also run once daily to update a bunch of random issues.
# This way we can hopefully pick up issues that got new reactions
# (reactions do not trigger issue changes).
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
metrics:
runs-on: ubuntu-latest
steps:
- uses: champnic/Porpoise@main
env:
GH_PAT: '${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}'
GH_OWNER: 'MicrosoftEdge'
GH_REPO: 'DevTools'
GH_TRACKED_LABELS: 'feature,tracked'
ADO_PAT: '${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}'
ADO_ORG: 'microsoft'