Skip to content

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

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

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

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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
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`'