Skip to content

Commit

Permalink
fix failed state
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanLav committed Oct 24, 2023
1 parent 9f1a50b commit 8534dc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pull_request_for_chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
run: make check-chains-file

- name: Find Comment
if: always()
uses: peter-evans/find-comment@v2
id: fc
with:
Expand All @@ -42,14 +43,14 @@ jobs:
body-includes: This comment was written by a bot!

- name: Create comment
if: steps.fc.outputs.comment-id == ''
if: always() && steps.fc.outputs.comment-id == ''
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.pull_request.number }}
body-file: ${{ env.BODY_FILE }}

- name: Update comment
if: steps.fc.outputs.comment-id != ''
if: always() && steps.fc.outputs.comment-id != ''
uses: peter-evans/create-or-update-comment@v2
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
Expand Down

0 comments on commit 8534dc4

Please sign in to comment.