Skip to content

Commit 96f9129

Browse files
committed
step
1 parent dcc6f59 commit 96f9129

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/pr-comment.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
pr-comment-update:
1717
name: Update bot comment on PR
1818
runs-on: ubuntu-latest
19-
if: ${{ github.event.workflow_run.event == 'pull_request' }}
2019
steps:
2120
- name: Download artifacts
2221
id: download-artifacts
@@ -28,7 +27,7 @@ jobs:
2827

2928
- name: Load PR number
3029
run: |
31-
[ -f reports/pr_number ] && echo "PR_NUM=$(cat reports/pr_number)" >> $GITHUB_ENV
30+
[ -f pr_number ] && echo "PR_NUM=$(cat pr_number)" >> $GITHUB_ENV
3231
3332
- name: Check PR number
3433
id: check-pr
@@ -49,7 +48,7 @@ jobs:
4948
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5049
GH_REPO: ${{ github.repository }}
5150
run: |
52-
BODY="$(cat reports/summary)"
51+
BODY="$(cat summary)"
5352
if ! gh pr comment ${PR_NUM} --edit-last --body "${BODY}" ; then
5453
gh pr comment ${PR_NUM} --body "${BODY}"
5554
fi

0 commit comments

Comments
 (0)