Don't run auto-triage for closed issues

This commit is contained in:
Casper Jeukendrup 2023-11-17 16:31:08 +01:00
parent 175540079f
commit b5296af362
No known key found for this signature in database
GPG Key ID: 6C571BEF59E722DD
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
enable-versioned-regex: 0
add_to_projects:
if: github.event.action == 'labeled'
if: github.event.action == 'labeled' && github.event.issue.state == 'open'
runs-on: ubuntu-latest
steps:
- name: 'Engraving'
@ -52,7 +52,7 @@ jobs:
labeled: VST
assign:
if: github.event.action == 'labeled' || github.event.action == 'unlabeled'
if: (github.event.action == 'labeled' || github.event.action == 'unlabeled') && github.event.issue.state == 'open'
runs-on: ubuntu-latest
steps:
- name: 'Set assignees on issue'