Skip to content

Commit

Permalink
ci: update ci-failure-comment workflow (@fehmer) (#5632)
Browse files Browse the repository at this point in the history
  • Loading branch information
fehmer authored Jul 19, 2024
1 parent deeea0f commit 29627fd
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci-failure-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,8 @@ jobs:
path: ./pr_num/pr_num.txt

- name: Create comment
uses: actions/github-script@v6
uses: peter-evans/create-or-update-comment@v4
with:
github-token: ${{ secrets.API_TOKEN }}
script: |
github.rest.issues.createComment({
issue_number: ${{ steps.pr_num_reader.outputs.content }},
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Continuous integration check(s) failed. Please review the failing check\'s logs and make the necessary changes. ' + context.payload.workflow_run.html_url
})
issue-number: ${{ steps.pr_num_reader.outputs.content }}
body: |
Continuous integration check(s) failed. Please review the [failing check\'s logs](${{ github.event.workflow_run.html_url }}) and make the necessary changes.

0 comments on commit 29627fd

Please sign in to comment.