Skip to content

Commit

Permalink
fix: ignore errors from comment step
Browse files Browse the repository at this point in the history
Will fail when this job is running on the main branch as there is no PR
or comment associated.
  • Loading branch information
stigok committed Oct 17, 2023
1 parent 5792655 commit e67d6eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ jobs:
- name: Post/update results as comment
uses: edumserrano/[email protected]
# This step will fail when running on the main branch, as there
# won't be any PR or comment to find.
continue-on-error: true
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: '<!-- terraform-test-results -->'
Expand Down

0 comments on commit e67d6eb

Please sign in to comment.