From 10ae5774ff9e5cedd314abcd59ef5c31cfe3d463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melissa=20Weber=20Mendon=C3=A7a?= Date: Thu, 5 Feb 2026 12:38:03 -0300 Subject: [PATCH] MAINT: Move to first-contribution action Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com> --- .github/workflows/pr_welcome.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_welcome.yml b/.github/workflows/pr_welcome.yml index 2580b5a008a0..4778db07b2cd 100644 --- a/.github/workflows/pr_welcome.yml +++ b/.github/workflows/pr_welcome.yml @@ -1,18 +1,23 @@ --- name: PR Greetings -on: [pull_request_target] +on: + pull_request_target: + types: opened + issues: + types: opened jobs: greeting: runs-on: ubuntu-latest permissions: + issues: write pull-requests: write steps: - - uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d # v3.1.0 + - uses: plbstl/first-contribution@4b2b042fffa26792504a18e49aa9543a87bec077 # v4.1.0 with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - pr_message: >+ + labels: first-contribution + pr-opened-msg: >+ Thank you for opening your first PR into Matplotlib! @@ -35,3 +40,4 @@ jobs: We strive to be a welcoming and open project. Please follow our [Code of Conduct](https://github.com/matplotlib/matplotlib/blob/main/CODE_OF_CONDUCT.md). + issue-opened-msg: ""