We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcc6f59 commit 96f9129Copy full SHA for 96f9129
1 file changed
.github/workflows/pr-comment.yml
@@ -16,7 +16,6 @@ jobs:
16
pr-comment-update:
17
name: Update bot comment on PR
18
runs-on: ubuntu-latest
19
- if: ${{ github.event.workflow_run.event == 'pull_request' }}
20
steps:
21
- name: Download artifacts
22
id: download-artifacts
@@ -28,7 +27,7 @@ jobs:
28
27
29
- name: Load PR number
30
run: |
31
- [ -f reports/pr_number ] && echo "PR_NUM=$(cat reports/pr_number)" >> $GITHUB_ENV
+ [ -f pr_number ] && echo "PR_NUM=$(cat pr_number)" >> $GITHUB_ENV
32
33
- name: Check PR number
34
id: check-pr
@@ -49,7 +48,7 @@ jobs:
49
48
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50
GH_REPO: ${{ github.repository }}
51
52
- BODY="$(cat reports/summary)"
+ BODY="$(cat summary)"
53
if ! gh pr comment ${PR_NUM} --edit-last --body "${BODY}" ; then
54
gh pr comment ${PR_NUM} --body "${BODY}"
55
fi
0 commit comments