chore: add action to welcome new users (#20401)

* add action to welcome new users

* fix typo
This commit is contained in:
Elizabeth Thompson 2022-06-15 16:27:55 -07:00 committed by GitHub
parent 498987a1a0
commit ccba5b2f69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/welcome-new-users.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Welcome New Contributor
on:
pull_request_target:
types: [opened]
jobs:
welcome:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Welcome Message
uses: actions/first-interaction@v1.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-message: |-
Congrats on making your first PR and thank you for contributing to Superset! :tada: :heart:
We hope to see you in our [Slack](https://apache-superset.slack.com/) community too!
- name: First Time Label
uses: andymckay/labeler@master
with:
add-labels: "new:contributor"
repo-token: ${{ secrets.GITHUB_TOKEN }}