Files
crush-code-agent-ide/scripts/run-issue-labeler.sh
2025-08-01 17:22:34 -03:00

13 lines
498 B
Bash
Executable File

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