Apply Labels, owners and reviewers to pull requests and issues. #23448
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: Apply Labels, owners and reviewers to pull requests and issues. | |
on: | |
issues: | |
types: | |
- opened | |
- edited | |
schedule: | |
- cron: '5 * * * *' | |
jobs: | |
pr-team-labels: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
with: | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Autolabel | |
# Temporary until we get this fixed upstream or pulled into this repo. | |
uses: timcosgrove/auto-labeling@ed43ee47522f3a52cb912be7dea67e185e720a8e | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
label-pattern: '- \[(.*?)\] ?`(.+?)`' # matches '- [x] `label`' |