test(date): Add Intl-Based Tests for Date Definitions to Ensure Completeness of Weekdays and Months #4593
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: PR Labels | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- edited | |
- labeled | |
- unlabeled | |
permissions: {} | |
jobs: | |
fail-by-blocking-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for blocking labels | |
run: | | |
BLOCKING_LABELS=("do NOT merge yet" "s: on hold") | |
PR_LABELS=$(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH") | |
for LABEL in "${BLOCKING_LABELS[@]}"; do | |
if [[ "$PR_LABELS" == *"$LABEL"* ]]; then | |
echo "This PR has a blocking label: $LABEL" | |
exit 1 | |
fi | |
done | |
echo "No blocking labels found" |