Skip to content

Commit 508b022

Browse files
committed
Run dependency scanner CI job on schedule as well
1 parent 2f983c1 commit 508b022

File tree

2 files changed

+39
-23
lines changed

2 files changed

+39
-23
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -199,29 +199,6 @@ jobs:
199199
- name: Run benchmarks
200200
run: ./benchmark.py
201201

202-
dependecy-scanner:
203-
name: Scan dependencies for vulnerabilities
204-
runs-on: ubuntu-latest
205-
env:
206-
KITTY_BUNDLE: 1
207-
steps:
208-
- name: Checkout source code
209-
uses: actions/checkout@v5
210-
with:
211-
fetch-depth: 10
212-
persist-credentials: false
213-
214-
- name: Checkout bypy
215-
uses: actions/checkout@v5
216-
with:
217-
fetch-depth: 1
218-
persist-credentials: false
219-
repository: kovidgoyal/bypy
220-
path: bypy-src
221-
222-
- name: Check dependencies
223-
run: python3 .github/workflows/ci.py check-dependencies
224-
225202
linux-dev:
226203
name: Test ./dev.sh and benchmark
227204
runs-on: ubuntu-latest

.github/workflows/depscan.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Depscan
2+
on:
3+
push:
4+
branches: [master]
5+
schedule:
6+
- cron: '0 12 * * 5'
7+
8+
env:
9+
CI: 'true'
10+
ASAN_OPTIONS: detect_leaks=0
11+
LC_ALL: en_US.UTF-8
12+
LANG: en_US.UTF-8
13+
14+
permissions:
15+
contents: read # to fetch code (actions/checkout)
16+
17+
jobs:
18+
dependecy-scanner:
19+
name: Scan dependencies for vulnerabilities
20+
runs-on: ubuntu-latest
21+
env:
22+
KITTY_BUNDLE: 1
23+
steps:
24+
- name: Checkout source code
25+
uses: actions/checkout@v5
26+
with:
27+
fetch-depth: 10
28+
persist-credentials: false
29+
30+
- name: Checkout bypy
31+
uses: actions/checkout@v5
32+
with:
33+
fetch-depth: 1
34+
persist-credentials: false
35+
repository: kovidgoyal/bypy
36+
path: bypy-src
37+
38+
- name: Check dependencies
39+
run: python3 .github/workflows/ci.py check-dependencies

0 commit comments

Comments
 (0)