From be6b46b79324f08d2ccd13eb8953d0b9b50f45ab Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Wed, 28 Apr 2021 21:20:18 -0400 Subject: [PATCH] github: Add first-time contributor message --- .github/workflows/pr-triage.yml | 14 ++++++++++++++ .github/workflows/windows-workflow.yml | 10 +++++----- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml index 519151ee15..1d30117164 100644 --- a/.github/workflows/pr-triage.yml +++ b/.github/workflows/pr-triage.yml @@ -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" \ No newline at end of file diff --git a/.github/workflows/windows-workflow.yml b/.github/workflows/windows-workflow.yml index 02b69f87ba..b87855bcbf 100644 --- a/.github/workflows/windows-workflow.yml +++ b/.github/workflows/windows-workflow.yml @@ -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