forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new GitHub Action to greet newcomers (pantsbuild#18977)
This Action leverages https://github.com/actions/first-interaction to comment on a user's first Issue and/or PR with a static message. In the future we might switch the account to use our automation account to be a bit more personalized. --------- Co-authored-by: Huon Wilson <[email protected]>
- Loading branch information
1 parent
c56d941
commit cba5b43
Showing
1 changed file
with
41 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,41 @@ | ||
name: first-interaction | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
pull_request: | ||
branches: [main] | ||
types: [opened] | ||
|
||
jobs: | ||
check_for_first_interaction: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.WORKER_PANTS_SAY_HI_PAT }} | ||
issue-message: | | ||
Welcome to the Pantsbuild Community. This looks like your first issue here. Thanks for taking the time to write it. | ||
If you haven't already, feel free to [come say hi on Slack](https://docs.google.com/forms/d/e/1FAIpQLSf9zgf-MXRnVDJbrVEST3urqneq7LCcy0zw8qU-GH4hPMn52A/viewform?usp=sf_link). | ||
If you have questions, or just want to surface this issue, check out the `#development` channel. | ||
(If you want to check it out without logging in, check out our [Linen mirror](https://chat.pantsbuild.org/)) | ||
Thanks again, and we look forward to your next Issue/PR :smile:! | ||
pr-message: | | ||
Welcome to the Pantsbuild Community. This looks like your first PR here. | ||
We are so grateful for each an every contribution, big or small. | ||
So thanks for spending your time and energy making this project better. | ||
If you haven't gotten a reply in a week, feel free to gently comment "bump" to ping the project admins. | ||
If you haven't already, feel free to [come say hi on Slack](https://docs.google.com/forms/d/e/1FAIpQLSf9zgf-MXRnVDJbrVEST3urqneq7LCcy0zw8qU-GH4hPMn52A/viewform?usp=sf_link). | ||
If you have questions, or just want to surface this PR, check out the `#development` channel. | ||
(If you want to check it out without logging in, check out our [Linen mirror](https://chat.pantsbuild.org/)) | ||
Thanks again for this PR, and we'll be on the lookout for your next one :smile:! |