Skip to content

Commit 59db2e8

Browse files
feat: run test pipeline on main branch (#114)
* feat: run test pipeline on main branch * feat: fix link checker
1 parent df64b04 commit 59db2e8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/link-checker.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515
linkChecker:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
19+
with:
20+
persist-credentials: false
1921

2022
- name: Restore lychee cache
2123
uses: actions/cache@v4
@@ -27,10 +29,11 @@ jobs:
2729

2830
- name: Link Checker
2931
id: lychee
30-
uses: lycheeverse/lychee-action@v2
32+
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2
3133
with:
3234
args: >-
3335
'./**/*.md'
36+
--root-dir .
3437
--verbose
3538
--no-progress
3639
--user-agent 'Mozilla/5.0 (X11; Linux x86_64) Chrome/134.0.0.0'

.github/workflows/run_tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
pull_request:
1010
types: [opened, synchronize, reopened]
1111
branches: [main]
12-
12+
push:
13+
branches: [main]
1314

1415
jobs:
1516
Wait-for-images:

0 commit comments

Comments
 (0)