Skip to content

Commit 96f3b06

Browse files
authored
[add] weekly CVE scanning action (#71)
Signed-off-by: luojiyin <luojiyin@hotmail.com>
1 parent 0d80652 commit 96f3b06

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/self-scan.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Self Scan
2+
3+
on:
4+
schedule:
5+
- cron: '0 3 * * 1' # Every Monday at UTC 3:00 AM
6+
workflow_dispatch:
7+
8+
jobs:
9+
self-scan:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v6
13+
14+
- uses: OWASP/cve-lite-cli@v1
15+
with:
16+
verbose: "true"
17+
fail-on: high

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
开源市集官网项目
44

55
[![CI & CD](https://github.com/Open-Source-Bazaar/Open-Source-Bazaar.github.io/actions/workflows/main.yml/badge.svg)][7]
6+
[![Self Scan](https://github.com/Open-Source-Bazaar/Open-Source-Bazaar.github.io/actions/workflows/self-scan.yml/badge.svg)][12]
67

78
## 项目简介
89

@@ -35,3 +36,4 @@ pnpm dev
3536
[7]: https://github.com/Open-Source-Bazaar/Open-Source-Bazaar.github.io/actions/workflows/main.yml
3637
[10]: https://github.com/features/actions
3738
[11]: https://vercel.com/
39+
[12]: https://github.com/Open-Source-Bazaar/Open-Source-Bazaar.github.io/actions/workflows/self-scan.yml

0 commit comments

Comments
 (0)