Apply Labels, owners and reviewers to pull requests and issues. #82752
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
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`' |