Skip to content

Commit

Permalink
ci: Welcome new users
Browse files Browse the repository at this point in the history
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
SebastienDegodez authored Feb 26, 2025
1 parent c03948c commit c6df5dd
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/welcome.yml
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.

0 comments on commit c6df5dd

Please sign in to comment.