deps: lock file maintenance #2124
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 label check | |
on: | |
pull_request: | |
types: | |
- opened # for "Require status checks to pass" | |
- synchronize # ditto | |
- labeled | |
- unlabeled | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
pull-requests: read | |
jobs: | |
do-not-merge: | |
# Remove `do-not-merge` label before merging | |
if: ${{ ! contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: exit 0 | |
pr-labels-ok: | |
needs: [do-not-merge] | |
runs-on: ubuntu-latest | |
steps: | |
- run: exit 0 |