Skip to content

Bump peter-evans/create-pull-request from 7.0.3 to 7.0.5 #149

Bump peter-evans/create-pull-request from 7.0.3 to 7.0.5

Bump peter-evans/create-pull-request from 7.0.3 to 7.0.5 #149

Workflow file for this run

name: Do Not Merge
on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled]
permissions:
contents: read
jobs:
do-not-merge:
if: ${{ contains(github.event.*.labels.*.name, 'do not merge') }}
name: Prevent Merging
runs-on: ubuntu-22.04
steps:
- name: Check for label
run: |
echo "Pull request is labeled as 'do not merge'"
echo "This workflow fails so that the pull request cannot be merged"
exit 1