Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 603 Bytes

README.md

File metadata and controls

21 lines (19 loc) · 603 Bytes

satel-pr-commenter

This GitHub action posts comments on a PR when a workflow fails

Usage

pr-commenter-action
  runs-on: ubuntu-latest
  if: always()
  needs: [<PREVIOUS-JOBS>]
  steps:
  - name: pr-action 
    uses: SatelCreative/[email protected]
    if: ${{ github.ref != 'refs/heads/main' && !contains(github.ref, 'refs/tags/') }}
    with:
      token: ${{ secrets.GITHUB_TOKEN }}
      job_status: ${{ needs.set-variables.result }}  
      body: "<FAQ-COMMENT>"
      number: ${{ github.event.pull_request.number }}
      author: ${{ github.event.pull_request.user.login }}