Skip to content

Commit

Permalink
update the other logs
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jan 13, 2025
1 parent 555fa97 commit 68de451
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ jobs:
# Example:
# --- /dev/null
# +++ b/extensions/DangoCat/extension.js
echo "Labeling $LABEL_NEW_EXTENSION"
echo "Adding label: $LABEL_NEW_EXTENSION"
gh pr edit --repo "$GH_REPO" "$PR_NUMBER" --add-label "$LABEL_NEW_EXTENSION"
got_any_specific_label=true
elif pcregrep --buffer-size 16777216 "^\+\+\+ b/extensions/" pr.diff; then
# Example:
# --- a/extensions/DangoCat/extension.js
# +++ b/extensions/DangoCat/extension.js
echo "Labeling $LABEL_CHANGE_EXTENSION"
echo "Adding label: $LABEL_CHANGE_EXTENSION"
gh pr edit --repo "$GH_REPO" "$PR_NUMBER" --add-label "$LABEL_CHANGE_EXTENSION"
got_any_specific_label=true
fi
Expand All @@ -63,7 +63,7 @@ jobs:
# Any PR that didn't get a specific label will go into other, for a human to look at.
if [[ "$got_any_specific_label" == "false" ]]; then
echo "Labeling $LABEL_OTHER"
echo "Adding label: $LABEL_OTHER"
gh pr edit --repo "$GH_REPO" "$PR_NUMBER" --add-label "$LABEL_OTHER"
fi
env:
Expand Down

0 comments on commit 68de451

Please sign in to comment.