Skip to content

Commit

Permalink
Merge pull request #144 from godatadriven/move-pr-comment-to-gh
Browse files Browse the repository at this point in the history
Fixing action to comment when prior step failed
  • Loading branch information
pgoslatara authored Aug 15, 2024
2 parents ceba74f + b19a045 commit 376f752
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ runs:
${{ steps.assemble-output-file-param.outputs.output-file-param }}
- name: Send PR comment
if: always() && ${{ inputs.send-pr-comment }} == 'true' && ${{ steps.run-dbt-bouncer.outputs.exit_code != 0 }}
if: always() && inputs.send-pr-comment == 'true' && steps.run-dbt-bouncer.outcome != 'success'
shell: bash
run: >
gh pr comment ${{ github.pull_request.number }} \
gh pr comment ${{ github.event.number }} \
--repo ${{ github.repository }} \
--body-file /app/github-comment.md
--body-file github-comment.md

0 comments on commit 376f752

Please sign in to comment.