feat(*): add switch to support disabling cnr lifecycle #8776
Workflow file for this run
This file contains hidden or 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: Status Check | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| types: [ opened, reopened, synchronize, labeled, unlabeled] | |
| jobs: | |
| status-check: | |
| name: Status Check | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check if the PR is hold | |
| if: contains(github.event.pull_request.labels.*.name, 'workflow/merge-hold') | |
| run: echo 'This pull request is hold' && exit 1 |