Add first interaction greetings (#2190)
* Add first interaction greetings * Update greetings.yml
This commit is contained in:
@@ -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!!! ✨🎃👕'
|
||||||
Reference in New Issue
Block a user