Skip to content

Commit

Permalink
ci: post a comment on canary failures (#12380)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
  • Loading branch information
OrKoN and Lightning00Blade committed May 2, 2024
1 parent 73d7692 commit f7e44b9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,23 @@ jobs:
with:
name: test-results-${{ matrix.os }}-${{ matrix.suite }}-${{ matrix.shard }}-${{ matrix.configs }}
path: /tmp/artifacts/*.json

report-results:
name: 'Report results'
needs: [canary-chrome-tests]
runs-on: ubuntu-latest
permissions:
issues: write
if: ${{ always() }}
steps:
- name: Post comment
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: ${{ needs.canary-chrome-tests.result != 'success'}}
with:
# https://github.com/puppeteer/puppeteer/issues/12379
issue-number: 12379
body: |
Tests with Chrome Canary failed
---
[Link](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})

0 comments on commit f7e44b9

Please sign in to comment.