mirror of
https://github.com/charmbracelet/crush.git
synced 2025-08-02 05:20:46 +03:00
chore: add script o manually run issue labeler
This commit is contained in:
12
scripts/run-issue-labeler.sh
Executable file
12
scripts/run-issue-labeler.sh
Executable 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
|
||||
Reference in New Issue
Block a user