Apply Labels, owners and reviewers to pull requests and issues. #108460
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
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`' |