This repository was archived by the owner on Aug 12, 2026. It is now read-only.
3.22 support #3848
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: pr-labels | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, edited, labeled, unlabeled] | |
| jobs: | |
| check-labels: | |
| name: Check that PRs against the stable branch are labelled correctly | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check labels | |
| run: | | |
| [[ '${{ github.base_ref }}' != stable ]] \ | |
| || [[ '${{ contains(github.event.pull_request.labels.*.name, 'merge') }}' == true ]] |