Skip to content

Instantly share code, notes, and snippets.

@salikadave
Last active July 9, 2023 06:07
Show Gist options
  • Save salikadave/024cf1c43764b38b4e214b2fd1867548 to your computer and use it in GitHub Desktop.
Save salikadave/024cf1c43764b38b4e214b2fd1867548 to your computer and use it in GitHub Desktop.
Configuring Greetings Workflow - GitHub Actions
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Hey, @${{ github.actor }} welcome to this repository.🎊 Thank you so much for taking the time to point this out.🙌'
pr-message: 'Hey, @${{ github.actor }} welcome to this repository.🎊 Thank you so much for taking the effort to make our project better! 🙌 Keep making such awesome contributions!'
@dhavalveera
Copy link

how to get the GITHUB_TOKEN, and where to put it? @salikadave

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment