name: echoes-post
on:
workflow_run:
workflows:
types:
jobs:
post:
runs-on: ubuntu-latest
permissions:
actions: read
pull-requests: write
# This job holds a write token, so it must never check out or run pull-request code.
steps:
- uses: actions/download-artifact@v4
with:
name: echoes-payload
path: echoes-payload
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ github.token }}
- uses: LucaCappelletti94/cargo-echoes@v1
with:
mode: post
payload: echoes-payload