Skip to content

Commit ad1c408

Browse files
authored
Merge pull request #5 from mjbear/link_checking
Fix broke links and add link checking
2 parents 19115ed + 73589bd commit ad1c408

File tree

3 files changed

+57
-24
lines changed

3 files changed

+57
-24
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: GitHub Actions
2+
3+
on:
4+
push:
5+
branches: ['main','master']
6+
pull_request:
7+
branches: ['main','master']
8+
schedule:
9+
# run once a month (until 60 days of repo inactivity hits)
10+
# (time in UTC, run at 7:45 EST depending on daylight savings)
11+
- cron: '45 11 16 * *'
12+
13+
jobs:
14+
link_check:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Check out repository code
18+
uses: actions/checkout@v4
19+
20+
- name: Link Checker (lychee)
21+
id: lychee
22+
uses: lycheeverse/lychee-action@v2
23+
# certain links are excluded from checking via .lycheeignore

.lycheeignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# links that 403 because they require a Red Hat Subscription
2+
https://access.redhat.com/articles/3168091$
3+
https://access.redhat.com/solutions/3617131$
4+
5+
# GitHub link that frequently times out with HTTP 504 error code
6+
https://github.com/janus-idp/backstage-plugins/pull/527$

0 commit comments

Comments
 (0)