Skip to content

Commit 030c7c7

Browse files
committed
test: add markdown links check and openssf scorecard
1 parent 3f43010 commit 030c7c7

3 files changed

Lines changed: 54 additions & 0 deletions

File tree

.github/workflows/links.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Links
2+
3+
on:
4+
schedule:
5+
- cron: "00 18 * * 1"
6+
workflow_dispatch:
7+
8+
jobs:
9+
check:
10+
runs-on: ubuntu-24.04
11+
steps:
12+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
13+
14+
- name: Link Checker
15+
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
16+
with:
17+
fail: false
18+
args: --root-dir "$(pwd)" --verbose --no-progress './**/*.md'

.github/workflows/scorecard.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: OpenSSF Scorecard
2+
3+
on:
4+
push:
5+
branches: [main]
6+
schedule:
7+
- cron: "00 06 * * 1"
8+
9+
permissions: read-all
10+
11+
jobs:
12+
analysis:
13+
runs-on: ubuntu-24.04
14+
permissions:
15+
security-events: write
16+
id-token: write
17+
steps:
18+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
19+
20+
- uses: ossf/scorecard-action@99c09fe975337306107572b4fdf4db224cf8e2f2 # v2.4.3
21+
with:
22+
results_file: results.sarif
23+
results_format: sarif
24+
publish_results: true
25+
26+
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
27+
with:
28+
name: SARIF
29+
path: results.sarif
30+
retention-days: 5
31+
32+
- uses: github/codeql-action/upload-sarif@8aad20d16a3cb9ef60d299c5751d9db3f49d97f4 # v4.36.2
33+
with:
34+
sarif_file: results.sarif

.lycheeignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Placeholder URLs in changelog templates
2+
\[IMAGE_VERSION\]

0 commit comments

Comments
 (0)