Skip to content

Commit 749b724

Browse files
authored
Merge pull request #109 from prasek/demo
fix rebase comment
2 parents 9d9640b + 163f4c9 commit 749b724

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rebase.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
env:
3737
OK: ${{ needs.info.outputs.ok }}
3838
run: |
39-
[[ "$OK" -eq 0 ]]; then
39+
if [[ $OK -eq 0 ]]; then
4040
echo "::set-output name=msg::Only members can rebase."
4141
else
4242
echo "::set-output name=msg::Rebasing ..."
@@ -77,7 +77,7 @@ jobs:
7777
uses: peter-evans/create-or-update-comment@v1
7878
with:
7979
issue-number: ${{ github.event.pull_request.number }}
80-
comment-id: ${{ needs.rebase.outputs.comment-id }}
80+
comment-id: ${{ needs.comment.outputs.comment-id }}
8181
body: |
8282
Rebase complete!
8383
edit-mode: replace
@@ -92,7 +92,7 @@ jobs:
9292
uses: peter-evans/create-or-update-comment@v1
9393
with:
9494
issue-number: ${{ github.event.pull_request.number }}
95-
comment-id: ${{ needs.rebase.outputs.comment-id }}
95+
comment-id: ${{ needs.comment.outputs.comment-id }}
9696
body: |
97-
Error rebasing.
97+
Error rebasing. Check the action logs for details.
9898
edit-mode: replace

0 commit comments

Comments
 (0)