-
-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add first-time contributor action (#811)
Co-authored-by: Chris Swithinbank <[email protected]>
- Loading branch information
Showing
1 changed file
with
32 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,32 @@ | ||
name: WelcomeBot | ||
|
||
on: | ||
pull_request_target: | ||
branches: [main] | ||
types: [opened] | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
welcome: | ||
name: Welcome First-Time Contributors | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }} | ||
pr-message: | | ||
Hello! Thank you for opening your **first PR** to Starlight! ✨ | ||
Here’s what will happen next: | ||
1. Our GitHub bots will run to check your changes. | ||
If they spot any issues you will see some error messages on this PR. | ||
Don’t hesitate to ask any questions if you’re not sure what these mean! | ||
2. In a few minutes, you’ll be able to see a preview of your changes on Netlify 🤩 | ||
3. One or more of our maintainers will take a look and may ask you to make changes. | ||
We try to be responsive, but don’t worry if this takes a few days. |