Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d68c7e3

Browse files
authored
Merge pull request #31090 from melissawm/fix-bot
MAINT: Move to first-contribution action
2 parents 035e207 + 10ae577 commit d68c7e3

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/pr_welcome.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
---
22
name: PR Greetings
33

4-
on: [pull_request_target]
4+
on:
5+
pull_request_target:
6+
types: opened
7+
issues:
8+
types: opened
59

610
jobs:
711
greeting:
812
runs-on: ubuntu-latest
913
permissions:
14+
issues: write
1015
pull-requests: write
1116
steps:
12-
- uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d # v3.1.0
17+
- uses: plbstl/first-contribution@4b2b042fffa26792504a18e49aa9543a87bec077 # v4.1.0
1318
with:
14-
repo_token: ${{ secrets.GITHUB_TOKEN }}
15-
pr_message: >+
19+
labels: first-contribution
20+
pr-opened-msg: >+
1621
Thank you for opening your first PR into Matplotlib!
1722
1823
@@ -35,3 +40,4 @@ jobs:
3540
We strive to be a welcoming and open project. Please follow our
3641
[Code of
3742
Conduct](https://github.com/matplotlib/matplotlib/blob/main/CODE_OF_CONDUCT.md).
43+
issue-opened-msg: ""

0 commit comments

Comments
 (0)