mirror of https://github.com/Lissy93/dashy.git
🏗️ Check if user not contributor
This commit is contained in:
parent
2162424ad0
commit
5ebbe25c6e
|
@ -1,12 +1,12 @@
|
||||||
# Will add a comment and close new issues opened by users that may be spam, or have not starred
|
# Will add a comment and close any new issues opened by
|
||||||
# Is still a work in progress, will also detect if user has previous activity in repo and check when joined GH
|
# users who have not yet committed to, or starred the repo
|
||||||
name: 🎯 Issue Spam Control
|
name: 🎯 Issue Spam Control
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types: [opened, reopened]
|
types: [opened, reopened]
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check-user:
|
||||||
if: ${{ ! contains( github.event.issue.labels.*.name, 'keep-open') }}
|
if: ${{ ! contains( github.event.issue.labels.*.name, 'keep-open') && github.event.comment.author_association != 'CONTRIBUTOR' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Close issue opened by non-stargazer
|
name: Close issue opened by non-stargazer
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue