Skip to content

Update triage.yml

Update triage.yml #4

Workflow file for this run

name: Label issues

Check failure on line 1 in .github/workflows/triage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/triage.yml

Invalid workflow file

`issue` is not a valid event name
on:
issue:
types:
- reopened
- opened
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["triage-new-issue"]
})