Skip to content

Commit 4fc9117

Browse files
committed
Hooks QA job up to lychee reusable flow
1 parent 685be8e commit 4fc9117

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

.github/workflows/qa.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,7 @@ on:
77

88
jobs:
99
qa:
10-
name: QA Static Site
11-
runs-on: ubuntu-latest
12-
permissions:
13-
issues: write # required for peter-evans/create-issue-from-file
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v4
17-
- name: Link Checker
18-
id: lychee
19-
uses: lycheeverse/lychee-action@v2
20-
with:
21-
args: "--base=https://strategy.data.gov ."
22-
fail: false
23-
- name: Create Issue From File
24-
if: steps.lychee.outputs.exit_code != 0
25-
uses: peter-evans/create-issue-from-file@v5
26-
with:
27-
title: "📌 Link Checker Report"
28-
content-filepath: ./lychee/out.md
29-
issue-number: 338
30-
labels: report, automated issue
10+
uses: gsa/data.gov/.github/workflows/static-site-qa-template.yml@update-qa-template
11+
with:
12+
site_url: https://strategy.data.gov
13+
issue_number: 338

0 commit comments

Comments
 (0)