4ee933db92
Follow-up of #43228. This PR adds a new [GitHub Action](https://github.com/github/issue-labeler) that matches the
issue's body for the [dropdown list items](6cacd5a7c4/.github/ISSUE_TEMPLATE/1.bug_report.yml (L26-L48)
) and adds the relevant labels to the issue for triaging automatically.
17 lines
387 B
YAML
17 lines
387 B
YAML
name: Validate issue
|
|
on:
|
|
issues:
|
|
types: [labeled]
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
- name: 'Run issue validator'
|
|
run: node ./.github/actions/issue-validator/index.mjs
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|