Skip to content

Apply Labels, owners and reviewers to pull requests and issues. #81748

Apply Labels, owners and reviewers to pull requests and issues.

Apply Labels, owners and reviewers to pull requests and issues. #81748

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`'