Test commit #11
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: Greeter | |
on: | |
issues: | |
types: [closed] | |
pull_request: | |
types: [closed] | |
jobs: | |
greeting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Manoj-Paramsetti/greets-action@main | |
if: ${{ github.event.pull_request.merged == true }} | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PR_message: 'Grazie @${{ github.actor }} per il tuo contributo! La tua pull request è stata unita con successo.' | |
- uses: Manoj-Paramsetti/greets-action@main | |
if: ${{ github.event.pull_request.merged == false}} | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
issue_message: 'Grazie @${{ github.actor }} per aver segnalato questo problema. La issue è stata chiusa.' | |
pr_message: 'Grazie @${{ github.actor }} per la tua pull request. Purtroppo non è stata unita, ma apprezziamo il tuo contributo.' |