github: Add first-time contributor message

This commit is contained in:
Tyler Wilding 2021-04-28 21:20:18 -04:00 committed by lightningterror
parent bd4d04f914
commit be6b46b793
2 changed files with 19 additions and 5 deletions

View File

@ -13,3 +13,17 @@ jobs:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: xTVaser/first-interaction@v1.2.4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
debug-mode: false
pr-message: |-
## Thank you for submitting a contribution to PCSX2
As this is your first pull request, [please be aware of the contributing guidelines](https://github.com/PCSX2/pcsx2/blob/master/.github/CONTRIBUTING.md).
Additionally, as per recent changes in Github Actions, your pull request will need to be approved by a maintainer before Github Actions can run against it.
Please be patient until this happens, in the meantime if you'd like to confirm the builds passing before that happens, you have the option of opening a PR on your own fork, just make sure your fork's master branch is up to date! [You can find more information about this change here.](https://github.blog/2021-04-22-github-actions-update-helping-maintainers-combat-bad-actors/)
pr-labels: "First Time Contribution"

View File

@ -42,11 +42,11 @@ jobs:
steps:
# NOTE - useful for debugging
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
# - name: Dump GitHub context
# env:
# GITHUB_CONTEXT: ${{ toJson(github) }}
# run: |
# echo "$GITHUB_CONTEXT"
- name: Checkout Repository
uses: actions/checkout@v2