Skip to content

feat: provide --owner arg for add cmd #5957

feat: provide --owner arg for add cmd

feat: provide --owner arg for add cmd #5957

Workflow file for this run

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