chore: add script o manually run issue labeler
commit8a1f4f6641c4386ccd9aa5f9da765674dfef9dd3
authorAndrey Nering <andreynering@users.noreply.github.com>
dateFri 1 Aug 2025, 17:22 (1 year ago)
parent822a050
scripts/run-issue-labeler.shnew file+12
@@ -0,0 +1,12 @@
1+ISSUES=$(gh issue list --state=all --limit=1000 --json "number" -t '{{range .}}{{printf "%.0f\n" .number}}{{end}}')
2+PRS=$(gh pr list --state=all --limit=1000 --json "number" -t '{{range .}}{{printf "%.0f\n" .number}}{{end}}')
3+
4+for issue in $ISSUES; do
5+ echo "Dispatching issue-labeler.yml for $issue"
6+ gh workflow run issue-labeler.yml -f issue-number="$issue"
7+done
8+
9+for pr in $PRS; do
10+ echo "Dispatching issue-labeler.yml for $pr"
11+ gh workflow run issue-labeler.yml -f issue-number="$pr"
12+done