feat: add action for when an issue is closed

This commit is contained in:
Pete Davison
2022-12-23 22:31:02 +00:00
parent 435f086cb7
commit 8f4306d321
3 changed files with 32 additions and 1 deletions

View File

@@ -5,11 +5,12 @@ on:
types: [opened]
jobs:
needs-triage:
issue-needs-triage:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{secrets.GH_PAT}}
script: |
const labels = await github.paginate(
github.rest.issues.listLabelsOnIssue, {