From 81ccf6359d469e2abaa4289497ac849572656c72 Mon Sep 17 00:00:00 2001 From: Sanket Sudake Date: Sun, 12 Sep 2021 10:11:29 +0530 Subject: [PATCH] Add first interaction greetings (#2190) * Add first interaction greetings * Update greetings.yml --- .github/workflows/greetings.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 00000000..82de8263 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,23 @@ +name: Greetings + +on: [pull_request, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + if: env.month != 'Oct' + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: 'Thank you for your first issue! ✨😊' + pr-message: 'Thank you for contributing to this project! ✨😊' + - uses: actions/first-interaction@v1 + if: env.month == 'Oct' + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: 'Thank you for your first issue! Happy Hacktoberfest!!! ✨🎃👕✨' + pr-message: 'Thank you for contributing to this project. Happy Hacktoberfest!!! ✨🎃👕'