[Backport release/3.2.x] chore(changelog): new way to maintain the changelog #11117
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: Pull Request Label Checker | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened, labeled, unlabeled] | |
jobs: | |
check-labels: | |
name: prevent merge labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: do-not-merge label found | |
run: echo "do-not-merge label found, this PR will not be merged"; exit 1 | |
if: ${{ contains(github.event.*.labels.*.name, 'pr/do not merge') || contains(github.event.*.labels.*.name, 'DO NOT MERGE') }} |