Skip to content

Update link report #3988

Update link report

Update link report #3988

name: Update link report
on:
workflow_run:
workflows: ["Website validation"]
types:
- completed
permissions:
actions: read
pull-requests: write
jobs:
load_report:
runs-on: ubuntu-latest
steps:
- name: Download results
uses: dawidd6/action-download-artifact@bd10f381a96414ce2b13a11bfa89902ba7cea07f # ratchet:dawidd6/[email protected]
with:
workflow: website-validation.yml
# workflow_conclusion: completed
run_id: ${{ github.event.workflow_run.id }}
name: website-validation-results
path: ./results
- name: Load PR number
id: load_pr
run: echo "pr=$(cat pr)" >> $GITHUB_OUTPUT
working-directory: ./results
- name: Post report in comment
# release notes: https://github.com/marocchino/sticky-pull-request-comment/releases/tag/v2.9.0
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # ratchet:marocchino/[email protected]
with:
header: linkreport
recreate: true
number: ${{ steps.load_pr.outputs.pr }}
path: ./results/linkcheck