Skip to content

Commit

Permalink
try new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
trueberryless committed Nov 30, 2024
1 parent c1416da commit f5a2e9e
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,44 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
delete_labels=("bug" "documentation" "duplicate" "enhancement" "good first issue" "help wanted" "invalid" "question" "wontfix")
for label in "${delete_labels[@]}"; do
if gh label list | grep -q "$label"; then
gh label delete "$label" --yes
fi
done
if gh label list | grep -q "bug"; then
gh label delete "bug" --yes
fi
if gh label list | grep -q "documentation"; then
gh label delete "documentation" --yes
fi
if gh label list | grep -q "duplicate"; then
gh label delete "duplicate" --yes
fi
if gh label list | grep -q "enhancement"; then
gh label delete "enhancement" --yes
fi
if gh label list | grep -q "good first issue"; then
gh label delete "good first issue" --yes
fi
if gh label list | grep -q "help wanted"; then
gh label delete "help wanted" --yes
fi
if gh label list | grep -q "invalid"; then
gh label delete "invalid" --yes
fi
if gh label list | grep -q "question"; then
gh label delete "question" --yes
fi
if gh label list | grep -q "wontfix"; then
gh label delete "wontfix" --yes
fi
gh label create "🚨 action" --description "Changes in GitHub workflows or actions" --color "A75AD5" --force
gh label create "🤖 bot" --description "Automatically generated pull request" --color "0075CA" --force
gh label create "🐛 bug" --description "Something isn't working" --color "D73A4A" --force
gh label create "📝 changeset" --description "Contains changeset files" --color "304EF9" --force
gh label create "🚧 config" --description "Configuration file updates" --color "C0ED4F" --force
gh label create "✒️ documentation" --description "Documentation updates, like README changes" --color "66741D" --force
gh label create "🔁 duplicate" --description "This issue or pull request already exists" --color "CFD3D7" --force
gh label create "🔁 duplicate" --description "This issue or pull request already exists" --color "008672" --force
gh label create "⏫ enhancement" --description "New feature or request" --color "3C11FD" --force
gh label create "🥇 good first issue" --description "Good for newcomers" --color "7057FF" --force
gh label create "🆘 help wanted" --description "Extra attention is needed" --color "008672" --force
gh label create "🆘 help wanted" --description "Extra attention is needed" --color "BFD4F2" --force
gh label create "🌏 i18n" --description "Updates to internationalized docs, excluding English" --color "006B75" --force
gh label create "👀 invalid" --description "This doesn't seem right" --color "E4E669" --force
gh label create "🚀 manifest" --description "Manifest-related changes" --color "96D3D7" --force
Expand Down

0 comments on commit f5a2e9e

Please sign in to comment.