---
name: refquiem-post
"on":
workflow_run: workflows: [refquiem]
types: [completed]
permissions: {}
jobs:
post:
name: Post the review
if: >-
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-26.04
timeout-minutes: 5
permissions:
actions: read
contents: read
pull-requests: write
steps:
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 with:
name: refquiem-payload
path: ${{ runner.temp }}/refquiem-payload
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ github.token }}
- uses: LucaCappelletti94/cargo-refquiem@9fb33940735801c53c5c4dc2432245c07e88b156 with:
mode: post
payload: ${{ runner.temp }}/refquiem-payload