Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vzarytovskii committed Nov 15, 2023
1 parent 41d98d3 commit 1c2da08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check_release_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ jobs:
fi
# Did bot already commented the PR?
- name: Find Comment
if: success() || failure()
uses: peter-evans/find-comment@v2.4.0
id: fc
with:
Expand All @@ -178,7 +179,7 @@ jobs:
body-includes: '<!-- DO_NOT_REMOVE: release_notes_check -->'
# If not, create a new comment
- name: Create comment
if: steps.fc.outputs.comment-id == ''
if: steps.fc.outputs.comment-id == '' && (success() || failure())
uses: peter-evans/create-or-update-comment@v3.1.0
with:
issue-number: ${{ github.event.pull_request.number }}
Expand All @@ -188,7 +189,7 @@ jobs:
#reactions: rocket
# If yes, update the comment
- name: Update comment
if: steps.fc.outputs.comment-id != ''
if: steps.fc.outputs.comment-id != '' && (success() || failure())
uses: peter-evans/create-or-update-comment@v3.1.0
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
Expand Down

0 comments on commit 1c2da08

Please sign in to comment.