feat: add vault large directory testcase #8526
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 Check | |
on: | |
pull_request: | |
branches: ["*"] | |
types: [labeled, unlabeled, opened, synchronize, auto_merge_enabled] | |
jobs: | |
fail-by-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fail if PR is labeled as DoNotMerge | |
run: | | |
LABELS=$(echo '${{ toJson(github.event.pull_request.labels) }}' | jq -r '.[].name') | |
echo -e "This PR has the following Labels:\n$LABELS" | |
if [[ $LABELS == *"DoNotMerge"* ]]; then | |
echo "This PR is labeled as DoNotMerge!" | |
exit 1 | |
fi |