Skip to content

Commit

Permalink
[CI] PR-actions: multiline comment fix (open-telemetry#5127)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored and michael2893 committed Sep 8, 2024
1 parent 060998c commit 633d862
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pr-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ jobs:
- name: Report success and ask to run full checks
if: ${{ !failure() && !cancelled() }}
run: |
gh pr comment $PR_NUM -b "fix:${PR_ACTION} was [successful]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID).\\n### NOW (RE-)RUN \`/fix:all\` to ensure that there are no other check issues."
gh pr comment $PR_NUM --body "$(cat <<EOF
\`fix:${PR_ACTION}\` was [successful]($GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID).
### IMPORTANT: (RE-)RUN \`/fix:all\` to ensure that there are no remaining check issues.
EOF
)"
env:
GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}

Expand Down

0 comments on commit 633d862

Please sign in to comment.