diff --git a/.github/workflows/label-open-issue.yml b/.github/workflows/label-open-issue.yml index 4e82b3dbf..e3b43b867 100644 --- a/.github/workflows/label-open-issue.yml +++ b/.github/workflows/label-open-issue.yml @@ -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 }} diff --git a/.github/workflows/welcome-contributor.yml b/.github/workflows/welcome-contributor.yml new file mode 100644 index 000000000..badaff18c --- /dev/null +++ b/.github/workflows/welcome-contributor.yml @@ -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. 😉"