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 }}