mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-15 04:46:22 +00:00
28 lines
590 B
YAML
28 lines
590 B
YAML
name: Comment on PR
|
|
|
|
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@v2
|
|
- name: on artifact
|
|
id: artifact
|
|
uses: marocchino/on_artifact@v1
|
|
with:
|
|
name: all
|
|
- uses: ./
|
|
with:
|
|
header: All
|
|
number: ${{ steps.artifact.outputs.number }}
|
|
message: |
|
|
```
|
|
${{ steps.artifact.outputs.all_result }}
|
|
```
|