Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add commit check for PRs #2155

Merged
merged 16 commits into from
Oct 25, 2023
Prev Previous commit
Next Next commit
fix failed state
  • Loading branch information
stepanLav committed Oct 24, 2023
commit 8534dc46313a8cef9ae01253d178eaffa9a2222d
5 changes: 3 additions & 2 deletions .github/workflows/pull_request_for_chains.yaml
Original file line number Diff line number Diff line change
@@ -34,6 +34,7 @@ jobs:
run: make check-chains-file

- name: Find Comment
if: always()
uses: peter-evans/find-comment@v2
id: fc
with:
@@ -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 }}
Loading