forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 1.02 KB
/
linkcheck-reporter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Update link report
on:
workflow_run:
workflows: [ "Website validation" ]
types:
- completed
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
uses: marocchino/sticky-pull-request-comment@fcf6fe9e4a0409cd9316a5011435be0f3327f1e1 # ratchet:marocchino/[email protected]
with:
header: linkreport
recreate: true
number: ${{ steps.load_pr.outputs.pr }}
path: ./results/linkcheck