Files
django/.github/workflows/new_contributor_pr.yml
Natalia e48527f91d Added timeout-minutes directive to all GitHub Actions workflows.
GitHub Actions defaults to a 360-minute (6-hour) timeout. We've had jobs
hang due to issues in the parallel test runner, causing them to run for
the full 6 hours. This wastes resources and negatively impacts CI
availability, so explicit timeouts have been added to prevent
long-running hangs.
2025-11-26 08:00:53 -05:00

38 lines
1.3 KiB
YAML

name: New contributor message
on:
pull_request_target:
types: [opened]
branches:
- main
permissions:
pull-requests: write
jobs:
build:
# Only trigger on the main Django repository
if: github.repository == 'django/django'
name: Hello new contributor
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
# Pin to v1: https://github.com/actions/first-interaction/issues/369
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Hello! Thank you for your interest in Django 💪
Django issues are tracked in [Trac](https://code.djangoproject.com/) and not in this repo.
pr-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 ⛵️!