summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2021-03-07 13:45:43 -0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-12 10:45:13 +0100
commita464ead29db8bf6a27a5291cad9eb3f0f3f0472b (patch)
treef4035e73d2f0dd609b90c75bfd145aea331f745d /.github
parentb1cb923883829b8e2d3d550ba125e574979d8230 (diff)
downloaddjango-a464ead29db8bf6a27a5291cad9eb3f0f3f0472b.tar.gz
Added GitHub action with welcome message for first-time contributors.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/new_contributor_pr.yml24
1 files changed, 24 insertions, 0 deletions
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 ⛵️!