adaptai / projects /ui /crush /scripts /run-issue-labeler.sh
ADAPT-Chase's picture
Add files using upload-large-folder tool
864e14a verified
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