.github/workflows/welcome-non-stargazers.yml

18 lines · 600 bytes

 1name: ⭐ Hello non-Stargazers
 2on:
 3  issues:
 4    types: [opened]
 5jobs:
 6  check-user:
 7    if: ${{ github.event.comment.author_association != 'CONTRIBUTOR' }}
 8    runs-on: ubuntu-latest
 9    name: Add comment to issues opened by non-stargazers
10    steps:
11      - name: comment
12        uses: qxip/please-star-light@v4
13        with:
14          token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
15          autoclose: false
16          message: |
17            If you're enjoying Awesome-Privacy, consider dropping us a ⭐<br>
18            _<sub>🤖 I'm a bot, and this message was automated</sub>_