mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
ci: post a comment on canary failures (#12380)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
This commit is contained in:
parent
73d7692ae9
commit
f7e44b9742
20
.github/workflows/canary.yml
vendored
20
.github/workflows/canary.yml
vendored
@ -72,3 +72,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: test-results-${{ matrix.os }}-${{ matrix.suite }}-${{ matrix.shard }}-${{ matrix.configs }}
|
name: test-results-${{ matrix.os }}-${{ matrix.suite }}-${{ matrix.shard }}-${{ matrix.configs }}
|
||||||
path: /tmp/artifacts/*.json
|
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 }})
|
||||||
|
Loading…
Reference in New Issue
Block a user