From cd3c1d1ec95c1a304b35dc12fab595ddbef8c5e2 Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Wed, 15 Jun 2022 11:17:11 -0700 Subject: [PATCH 1/2] add action to welcome new users --- .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 0000000000000..fdc25bb1008a0 --- /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-messsage: |- + 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 }} From 54410d6a7869a00eb6bad1d44467060092a5ea1a Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Wed, 15 Jun 2022 15:33:01 -0700 Subject: [PATCH 2/2] fix typo --- .github/workflows/welcome-new-users.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/welcome-new-users.yml b/.github/workflows/welcome-new-users.yml index fdc25bb1008a0..e55028af94461 100644 --- a/.github/workflows/welcome-new-users.yml +++ b/.github/workflows/welcome-new-users.yml @@ -15,7 +15,7 @@ jobs: uses: actions/first-interaction@v1.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - pr-messsage: |- + 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