Skip to content

Commit

Permalink
ci: add welcome new contributor action
Browse files Browse the repository at this point in the history
  • Loading branch information
unnamed-lab committed Jun 22, 2024
1 parent 8410c0e commit 4562cbf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/label-open-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
permissions:
issues: write
steps:
- name: "Identify new documentation request"
- name: "Identify new document request"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/welcome-contributor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Greet New Contributor
run-name: ${{ github.actor }} contributed to ${{github.repository}}.
on:
issues:
types: [opened]
pull_request_target:
types: [opened]

jobs:
welcome-new-contributor:
runs-on: ubuntu-latest
steps:
- name: "Greet the contributor"
uses: actions/first-interaction@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
is-oauth-token: true
issue-message: "Hello there 👋 Thanks for opening your first issue. We welcome you to the ${{ github.event.repository.name }} community! 😊"
pr-message: "Hello there 👋 Thanks for opening your first Pull Request. Someone will review it soon. 😉"

0 comments on commit 4562cbf

Please sign in to comment.