From ccba5b2f69f8d9efb805e584de84f68afab1bb2c Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Wed, 15 Jun 2022 16:27:55 -0700 Subject: [PATCH] chore: add action to welcome new users (#20401) * add action to welcome new users * fix typo --- .github/workflows/welcome-new-users.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/welcome-new-users.yml diff --git a/.github/workflows/welcome-new-users.yml b/.github/workflows/welcome-new-users.yml new file mode 100644 index 000000000..e55028af9 --- /dev/null +++ b/.github/workflows/welcome-new-users.yml @@ -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 }}