🔨 Updates anti-spam action to not run for feedback

This commit is contained in:
Alicia Sykes 2021-10-15 21:47:46 +01:00
parent 78963905cb
commit 79ee9994e5
1 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,12 @@ on:
types: [opened, reopened]
jobs:
check-user:
if: ${{ ! contains( github.event.issue.labels.*.name, 'keep-open') && github.event.comment.author_association != 'CONTRIBUTOR' }}
if: >
${{
! contains( github.event.issue.labels.*.name, '📌 Keep Open') &&
! contains( github.event.issue.labels.*.name, '🌈 Feedback') &&
github.event.comment.author_association != 'CONTRIBUTOR'
}}
runs-on: ubuntu-latest
name: Close issue opened by non-stargazer
steps: