From a464ead29db8bf6a27a5291cad9eb3f0f3f0472b Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Sun, 7 Mar 2021 13:45:43 -0100 Subject: [PATCH] Added GitHub action with welcome message for first-time contributors. Co-authored-by: Mariusz Felisiak --- .github/workflows/new_contributor_pr.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/new_contributor_pr.yml diff --git a/.github/workflows/new_contributor_pr.yml b/.github/workflows/new_contributor_pr.yml new file mode 100644 index 0000000000..6bbf7838a7 --- /dev/null +++ b/.github/workflows/new_contributor_pr.yml @@ -0,0 +1,24 @@ +name: New contributor message + +on: + pull_request_target: + +jobs: + build: + name: Hello new contributor + runs-on: ubuntu-latest + steps: + # Pinned to v2.0 + - uses: deborah-digges/new-pull-request-comment-action@224c179a9e23f65ec50ff3240b8716369dc415d7 + with: + access-token: ${{ secrets.GITHUB_TOKEN }} + message: | + Hello @{}! Thank you for your contribution 💪 + + As it's your first contribution be sure to check out the [patch review checklist](https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#patch-review-checklist). + + If you're fixing a ticket [from Trac](https://code.djangoproject.com/) make sure to set the _"Has patch"_ flag and include a link to this PR in the ticket! + + If you have any design or process questions then you can ask in the [Django forum](https://forum.djangoproject.com/c/internals/5). + + Welcome aboard ⛵️!