From 60bc2b426906b701f9b6615f969f993ce8bb6c68 Mon Sep 17 00:00:00 2001 From: April John <30842467+CutestNekoAqua@users.noreply.github.com> Date: Sat, 7 Oct 2023 17:12:30 +0200 Subject: [PATCH] Greet new contributors (#58) * Greet new contributors Added a workflow to greet new contributors and first time issuers. * add Token + msg change * Change welcome action * Use official GH action --- .github/workflows/welcome.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/welcome.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml new file mode 100644 index 000000000..a320276ee --- /dev/null +++ b/.github/workflows/welcome.yml @@ -0,0 +1,25 @@ +name: Welcome +on: + pull_request: + types: [opened] + issues: + types: [opened] +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: actions/first-interaction@v1.2.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: | + 👋 @{{ author }} + Thanks for opening your first issue here! If you are reporting a bug, please make sure to include steps on how to reproduce it! :D + + pr-message: | + 👋 @{{ author }} + Thanks for opening this pull request! We will review it as soon as we can :3 + Please check out our contributing guidelines in the meantime. + + # FIRST_PR_MERGED: | + # 🎉 @{{ author }} + # Congrats on getting your first pull request merged! We are proud of you :3 ❤️