|
4 | 4 | # Props to https://github.com/wow-actions/welcome |
5 | 5 |
|
6 | 6 | name: Welcome New Users with Thanks and Tip non-stargazers ;-) |
| 7 | + |
7 | 8 | on: |
8 | | - pull_request_target: |
9 | | - types: [opened, closed] |
10 | 9 | issues: |
11 | 10 | types: [opened] |
12 | | -permissions: |
13 | | - contents: read # Set permissions as read-only by default at the top level |
| 11 | + pull_request: |
| 12 | + types: [opened, closed] |
| 13 | + |
| 14 | +permissions: {} |
| 15 | + |
14 | 16 | jobs: |
15 | | - run: |
16 | | - permissions: |
17 | | - issues: write # for wow-actions/welcome to comment on issues |
18 | | - pull-requests: write # wow-actions/welcome to comment on PRs |
| 17 | + welcome-issue: |
| 18 | + if: github.event_name == 'issues' |
19 | 19 | runs-on: ubuntu-latest |
| 20 | + permissions: |
| 21 | + issues: write |
20 | 22 | steps: |
21 | 23 | - uses: wow-actions/welcome@68019c2c271561f63162fea75bb7707ef8a02c85 # To pin v1.3.1 |
22 | 24 | with: |
23 | | - # GitHub token as default GITHUB_TOKEN |
24 | | - |
25 | | - FIRST_ISSUE_REACTIONS: '+1, hooray, rocket, heart' |
26 | | - |
| 25 | + FIRST_ISSUE_REACTIONS: "+1, hooray, rocket, heart" |
27 | 26 | FIRST_ISSUE: | |
28 | 27 | 👋 @{{ author }} |
29 | 28 | |
|
36 | 35 | If you need to know why and how to add yourself to the list, please read the blog post ["Join the Microcks Adopters list and Empower the vibrant open source Community 🙌"](https://microcks.io/blog/join-adopters-list/) |
37 | 36 | |
38 | 37 | Hope you have a great time there! |
39 | | - |
40 | | - FIRST_PR_REACTIONS: '+1, hooray, rocket, heart' |
41 | | - |
| 38 | + STAR_MESSAGE: | |
| 39 | + 🌟 ~~~~~~~~~ 🌟 |
| 40 | +
|
| 41 | + 📢 If you like Microcks, please ⭐ star ⭐ our repo to support it! |
| 42 | + |
| 43 | + 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. |
| 44 | +
|
| 45 | + welcome-pr-opened: |
| 46 | + if: github.event_name == 'pull_request' && github.event.action == 'opened' |
| 47 | + runs-on: ubuntu-latest |
| 48 | + permissions: |
| 49 | + pull-requests: write |
| 50 | + steps: |
| 51 | + - uses: wow-actions/welcome@68019c2c271561f63162fea75bb7707ef8a02c85 # To pin v1.3.1 |
| 52 | + with: |
| 53 | + FIRST_PR_REACTIONS: "+1, hooray, rocket, heart" |
42 | 54 | FIRST_PR: | |
43 | 55 | 👋 @{{ author }} |
44 | 56 | |
|
47 | 59 | Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly. |
48 | 60 | |
49 | 61 | Hope you have a great time there! |
50 | | - |
| 62 | +
|
| 63 | + welcome-pr-merged: |
| 64 | + if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true |
| 65 | + runs-on: ubuntu-latest |
| 66 | + permissions: |
| 67 | + pull-requests: write |
| 68 | + steps: |
| 69 | + - uses: wow-actions/welcome@68019c2c271561f63162fea75bb7707ef8a02c85 # To pin v1.3.1 |
| 70 | + with: |
51 | 71 | FIRST_PR_MERGED: | |
52 | 72 | 🎉 @{{ author }} |
53 | 73 | |
|
60 | 80 | If you need to know why and how to add yourself to the list, please read the blog post ["Join the Microcks Adopters list and Empower the vibrant open source Community 🙌"](https://microcks.io/blog/join-adopters-list/) |
61 | 81 | |
62 | 82 | Kudos and please keep going, we need you 🙌 |
63 | | - |
64 | | - STAR_MESSAGE: | |
65 | | - 🌟 ~~~~~~~~~ 🌟 |
66 | | -
|
67 | | - 📢 If you like Microcks, please ⭐ star ⭐ our repo to support it! |
68 | | - |
69 | | - 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. |
70 | | - |
|
0 commit comments