chore: add script o manually run issue labeler

This commit is contained in:
Andrey Nering
2025-08-01 17:22:34 -03:00
parent 822a050e90
commit 8a1f4f6641

12
scripts/run-issue-labeler.sh Executable file
View File

@@ -0,0 +1,12 @@
ISSUES=$(gh issue list --state=all --limit=1000 --json "number" -t '{{range .}}{{printf "%.0f\n" .number}}{{end}}')
PRS=$(gh pr list --state=all --limit=1000 --json "number" -t '{{range .}}{{printf "%.0f\n" .number}}{{end}}')
for issue in $ISSUES; do
echo "Dispatching issue-labeler.yml for $issue"
gh workflow run issue-labeler.yml -f issue-number="$issue"
done
for pr in $PRS; do
echo "Dispatching issue-labeler.yml for $pr"
gh workflow run issue-labeler.yml -f issue-number="$pr"
done