Skip to content

Commit

Permalink
create / update comment properly (maybe?)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed Jul 27, 2024
1 parent 5559113 commit 6e5a814
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/cake_wallet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,18 @@ jobs:
body-includes: download cake_wallet

- name: Create or update comment
if: steps.fc.outcome == 'success'
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
[download cake_wallet #${{github.run_id}}](https://nightly.link/MrCyjaneK/monero_c/actions/runs/${{github.run_id}})
edit-mode: replace
edit-mode: replace
- name: Create comment
if: steps.fc.outcome == 'failure'
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
[download cake_wallet #${{github.run_id}}](https://nightly.link/MrCyjaneK/monero_c/actions/runs/${{github.run_id}}) (this comment will update whenever you push)
12 changes: 10 additions & 2 deletions .github/workflows/compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -476,11 +476,19 @@ jobs:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: download libraries
- name: Create or update comment
- name: Update comment
if: steps.fc.outcome == 'success'
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
[download libraries #${{github.run_id}}](https://nightly.link/MrCyjaneK/monero_c/actions/runs/${{github.run_id}})
edit-mode: replace
edit-mode: replace
- name: Create comment
if: steps.fc.outcome == 'failure'
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
[download libraries #${{github.run_id}}](https://nightly.link/MrCyjaneK/monero_c/actions/runs/${{github.run_id}}) (this comment will update whenever you push)
12 changes: 10 additions & 2 deletions .github/workflows/xmruw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,19 @@ jobs:
comment-author: 'github-actions[bot]'
body-includes: download xmruw

- name: Create or update comment
- name: Update comment
if: steps.fc.outcome == 'success'
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
[download xmruw #${{github.run_id}}](https://nightly.link/MrCyjaneK/monero_c/actions/runs/${{github.run_id}})
edit-mode: replace
edit-mode: replace
- name: Create comment
if: steps.fc.outcome == 'failure'
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
[download xmruw #${{github.run_id}}](https://nightly.link/MrCyjaneK/monero_c/actions/runs/${{github.run_id}}) (this link will update whenever you push)

0 comments on commit 6e5a814

Please sign in to comment.