-
Notifications
You must be signed in to change notification settings - Fork 252
27 lines (23 loc) · 1 KB
/
icebox-watcher.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
name: IceBox Upvote Watcher
on:
# Run before 9am Seattle time, so discussion needed labels are added before the working day.
# Run at non-zero minute so we're not running at the same time as everyone else who runs at the zero minute
schedule:
- cron: '34 13 * * *'
# Allow manual triggering, so testing changes is easier
workflow_dispatch:
permissions:
packages: read
issues: write
jobs:
Run-IceBox-Watcher:
runs-on: ubuntu-latest
steps:
- name: Set up NuGet authentication
run: dotnet nuget add source --username github-actions --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/nuget/index.json"
- name: Install GitHubIssueTagger
run: dotnet tool install --global NuGet.Internal.GitHubIssueTagger
- name: Run IceBox Watcher
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: GithubIssueTagger IceBox --add "Triage:NeedsTriageDiscussion" --label "Priority:3"