Remove applies to glitch from ToC when using inline applies to in headings #4177
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: required-labels | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - labeled | |
| - unlabeled | |
| - synchronize | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-labels: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - id: get-labels | |
| run: | | |
| labels=$(yq '[.categories[].labels] + .exclude-labels | flatten | unique | sort | @tsv' .github/release-drafter.yml | tr '\t' ',') | |
| echo "labels=$labels" >> "${GITHUB_OUTPUT}" | |
| - id: check-labels | |
| uses: mheap/github-action-required-labels@8afbe8ae6ab7647d0c9f0cfa7c2f939650d22509 # v5.5 | |
| with: | |
| mode: exactly | |
| count: 1 | |
| use_regex: false | |
| add_comment: true | |
| labels: ${{ steps.get-labels.outputs.labels }} |