mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-14 20:41:15 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
913 B
YAML
40 lines
913 B
YAML
name: Comment on Workflow Run
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows:
|
|
- "Test"
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
comment:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.event.workflow_run.event == 'pull_request' }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: on artifact
|
|
id: artifact
|
|
uses: marocchino/on_artifact@v1
|
|
with:
|
|
name: all
|
|
- uses: ./
|
|
with:
|
|
header: All
|
|
number: ${{ steps.artifact.outputs.number }}
|
|
message: |
|
|
<details open>
|
|
<summary>output of yarn all</summary>
|
|
|
|
```
|
|
${{ steps.artifact.outputs.all_result }}
|
|
```
|
|
</details>
|
|
- uses: ./
|
|
with:
|
|
header: All
|
|
number: ${{ steps.artifact.outputs.number }}
|
|
append: true
|
|
hide_details: true
|
|
message: |
|
|
The build is over.
|