Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/add-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
LABEL_COLOR="2ECC71"

# create the label if it doesn't exist
if ! gh label list --repo "$REPO" --limit 25 --json name --jq '.[].name' | grep -qi "^$LABEL_NAME$"; then
if ! gh label list --repo "$REPO" --json name --jq '.[].name' | grep -qi "^$LABEL_NAME$"; then
echo "Creating label '$LABEL_NAME'"
gh label create "$LABEL_NAME" --color "$LABEL_COLOR" --repo "$REPO"
gh label create "$LABEL_NAME" --color "$LABEL_COLOR" --repo "$REPO" --force
fi

# get current labels on the PR
Expand Down