-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces a new feature aimed at enhancing the onboarding experience for new users by automatically generating a welcoming comment on their first issue or pull request (PR). Doc: https://github.com/wow-actions/welcome
- Loading branch information
1 parent
c03948c
commit c6df5dd
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Welcome and Please Star This Repository <3 | ||
on: | ||
pull_request_target: | ||
types: [opened, closed] | ||
issues: | ||
types: [opened] | ||
permissions: | ||
contents: read # Set permissions as read-only by default at the top level | ||
jobs: | ||
run: | ||
permissions: | ||
issues: write # for wow-actions/welcome to comment on issues | ||
pull-requests: write # wow-actions/welcome to comment on PR | ||
# Do not run on bots and maintainers | ||
if: ${{ !contains(fromJson('["dependabot[bot]", "dependabot-preview[bot]", "allcontributors[bot]"]'), github.actor) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: wow-actions/[email protected] | ||
with: | ||
FIRST_ISSUE_REACTIONS: '+1, hooray, rocket, heart | ||
FIRST_ISSUE: | | ||
👋 @{{ author }} | ||
Welcome to the SlimPlanet Community! ❤️ | ||
We are thrilled to have you with us. | ||
Thanks for opening your first issue here! Be sure to follow the issue template! | ||
FIRST_PR_REACTIONS: '+1, hooray, rocket, heart' | ||
|
||
FIRST_PR: | | ||
👋 @{{ author }} | ||
Welcome to the SlimPlanet Community! ❤️ | ||
Thanks for opening this pull request! Please follow the [contributing guidelines](https://github.com/SlimPlanet/SlimFaas/blob/main/CONTRIBUTING.md). | ||
FIRST_PR_MERGED: | | ||
🎉 @{{ author }} | ||
Welcome to the SlimPlanet Community! ❤️ | ||
Congrats on merging your first pull request! | ||
Kudos and please keep going, we need you 🌍 | ||
STAR_MESSAGE: | | ||
📢 If you like SlimFaas, please ⭐ star ⭐ our repo to support it! | ||
🙏 It really helps the project to gain momentum and credibility. | ||