-
Notifications
You must be signed in to change notification settings - Fork 61
25 lines (22 loc) · 1.58 KB
/
greeting.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
name: Greeting first time contributors
on:
pull_request_target:
types: ["opened"]
issues:
types: ["opened"]
jobs:
greet-user:
name: Greeting Action
runs-on: ubuntu-latest
# Hopefully this will help with the "Resource not accessible by integration" error
# https://github.com/actions/first-interaction/issues/10#issuecomment-1114048624
permissions:
issues: write
pull-requests: write
# Runs the greeting action (Options can be found here https://github.com/actions/first-interaction)
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "👋 Thanks for submitting your first issue!\n\nPlease be sure to read and follow our [Code of Conduct](https://github.com/get-woke/woke/blob/main/CODE_OF_CONDUCT.md) and [Contributing](https://github.com/get-woke/woke/blob/main/CONTRIBUTING.md) guide.\n\n⭐️ Is your org or open source project using `woke`? If so, we'd love for you to be included in the 'Who uses `woke`' list at https://github.com/get-woke/woke/blob/main/docs/about.md#who-uses-woke."
pr-message: "👋 Thanks for submitting your first PR!\n\nPlease be sure to read and follow our [Code of Conduct](https://github.com/get-woke/woke/blob/main/CODE_OF_CONDUCT.md) and [Contributing](https://github.com/get-woke/woke/blob/main/CONTRIBUTING.md) guide.\n\n⭐️ Is your org or open source project using `woke`? If so, we'd love for you to be included in the 'Who uses `woke`' list at https://github.com/get-woke/woke/blob/main/docs/about.md#who-uses-woke."