Skip to content

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

License

Notifications You must be signed in to change notification settings

SatelCreative/satel-pr-commenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 }}

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages