Update buddy_system_allocator requirement from 0.9.0 to 0.11.0 #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Label Checker | |
on: | |
pull_request: | |
branches: dev | |
types: [opened, labeled, unlabeled, synchronize, reopened] | |
permissions: | |
pull-requests: read | |
contents: read | |
jobs: | |
check-labels: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check for specific labels | |
run: | | |
PR_NUMBER=$(echo ${{ github.event.pull_request.number }}) | |
LABELS_JSON=$(gh pr view $PR_NUMBER --json labels -q '.labels.[] | .name') | |
REQUIRED_LABELS=("chore" "ignore" "breaking-change" "enhancement" "feature" "dependencies" "bug" "security" "performance" "refactor" "testing" "documentation" "github-actions") | |
for REQUIRED_LABEL in "${REQUIRED_LABELS[@]}"; do | |
if echo "$LABELS_JSON" | grep -q "$REQUIRED_LABEL"; then | |
echo "One of the required labels is present" | |
exit 0 | |
fi | |
done | |
echo "None of the required labels are present" | |
exit 1 | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |