ci: remove needs-triage on issue assigned

This commit is contained in:
Elliot DeNolf
2024-05-28 15:20:16 -04:00
parent 4f9d78df5e
commit baf945b1ea

View File

@@ -5,9 +5,7 @@ on:
issues:
types:
- assigned
- unassigned
- closed
- edited
- labeled
- reopened
@@ -94,6 +92,19 @@ jobs:
with:
labels: 'status: needs-triage'
on-issue-assigned:
runs-on: ubuntu-latest
permissions:
issues: write
if: >
github.event.action == 'assigned' &&
contains(github.event.issue.labels.*.name, 'status: needs-triage')
steps:
- name: Remove needs-triage label on issue assign
uses: actions-ecosystem/action-remove-labels@v1
with:
labels: 'status: needs-triage'
# on-pr-merge:
# runs-on: ubuntu-latest
# if: github.event.pull_request.merged == true