Add appropiate error handling and return status code to github action #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 Sarthi repository.🎊 Thank you so much for taking the time to point this out.🙌" | |
pr-message: "Hey, @${{ github.actor }} welcome to Sarthi repository.🎊 Thank you so much for taking the effort to make our project better! 🙌 Keep making such awesome contributions!" |