-
-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (31 loc) · 908 Bytes
/
issuehunt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Auto message for Issues
on:
issues:
types: [opened, reopened]
permissions:
actions: none
checks: none
contents: read
deployments: none
id-token: write
issues: write
discussions: none
packages: none
pages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
jobs:
comment:
name: Hello new contributor
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Posts comment
env:
issue_num: ${{github.event.issue.number}}
comment_message: "Hey, thank you for opening this issue! 🙂 To boost priority on this issue and support open source please tip the team at https://issuehunt.io/r/${{github.repository}}/issues/${{github.event.issue.number }}"
run: gh issue comment $issue_num --body "$comment_message"