Stable merge for week 41 of 2024 #3611
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-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-22.04 | |
steps: | |
- name: Check labels | |
run: | | |
[[ '${{ github.base_ref }}' != stable ]] \ | |
|| [[ '${{ contains(github.event.pull_request.labels.*.name, 'merge') }}' == true ]] |