Skip to content

Commit d392834

Browse files
committed
Add PR comment workflow
1 parent cd3c0e8 commit d392834

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Welcome New Contributors
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
welcome:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: First Interaction
11+
uses: actions/first-interaction@v3
12+
with:
13+
repo_token: ${{ secrets.GITHUB_TOKEN }}
14+
pr_message: |
15+
Hello! 👋
16+
17+
Thanks for opening this pull request! Please check out our [contributing guidelines](https://make.wordpress.org/cli/handbook/contributions/contributing/). We appreciate you taking the initiative to contribute to this project.
18+
19+
Contributing isn't limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.

.github/workflows/sync-workflows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
^.editorconfig
2525
^.github/workflows/code-quality.yml
2626
^.github/workflows/regenerate-readme.yml
27+
^.github/workflows/welcome-new-contributors.yml
2728
^AGENTS.md
2829
TARGET_REPOS: |
2930
wp-cli/admin-command
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Welcome New Contributors
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
branches:
7+
- main
8+
- master
9+
10+
jobs:
11+
welcome:
12+
uses: wp-cli/.github/.github/workflows/reusable-welcome-new-contributors.yml@main

0 commit comments

Comments
 (0)