diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..6457614 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,21 @@ +--- +name: Greetings + +on: [pull_request, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + 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!!! 🎃👕🕹ī¸'