mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-27 02:43:55 +03:00
23 lines
834 B
YAML
23 lines
834 B
YAML
name: ⭐ Hello non-Stargazers
|
|
on:
|
|
issues:
|
|
types: [opened, reopened]
|
|
jobs:
|
|
check-user:
|
|
if: >
|
|
${{
|
|
! contains( github.event.issue.labels.*.name, '📌 Keep Open') &&
|
|
! contains( github.event.issue.labels.*.name, '🌈 Feedback') &&
|
|
! contains( github.event.issue.labels.*.name, '💯 Showcase') &&
|
|
github.event.comment.author_association != 'CONTRIBUTOR'
|
|
}}
|
|
runs-on: ubuntu-latest
|
|
name: Add comment to issues opened by non-stargazers
|
|
steps:
|
|
- name: comment
|
|
uses: qxip/please-star-light@v4
|
|
with:
|
|
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
|
autoclose: false
|
|
message: "If you're enjoying Dashy, consider dropping us a ⭐<br>_<sub>🤖 I'm a bot, and this message was automated</sub>_"
|