Score issues in sync'd Azure DevOps work items #3011
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
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' |