File tree Expand file tree Collapse file tree 3 files changed +35
-24
lines changed Expand file tree Collapse file tree 3 files changed +35
-24
lines changed Original file line number Diff line number Diff line change 97
97
mypy src/thegraph_token_api --ignore-missing-imports
98
98
continue-on-error : true
99
99
100
- security :
101
- runs-on : ubuntu-latest
102
- if : github.event_name != 'workflow_call'
103
- permissions :
104
- security-events : write
105
- contents : read
106
- steps :
107
- - uses : actions/checkout@v4
108
-
109
- - name : Run Trivy vulnerability scanner
110
- uses : aquasecurity/trivy-action@master
111
- with :
112
- scan-type : ' fs'
113
- scan-ref : ' .'
114
- format : ' sarif'
115
- output : ' trivy-results.sarif'
116
- severity : ' CRITICAL,HIGH'
117
-
118
- - name : Upload Trivy scan results to GitHub Security tab
119
- uses : github/codeql-action/upload-sarif@v3
120
- if : always()
121
- with :
122
- sarif_file : ' trivy-results.sarif'
123
100
124
101
build :
125
102
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ name : Security
2
+
3
+ on :
4
+ push :
5
+ branches : [ main, develop ]
6
+ pull_request :
7
+ branches : [ main, develop ]
8
+ schedule :
9
+ # Run security scan daily at 2 AM UTC
10
+ - cron : ' 0 2 * * *'
11
+
12
+ jobs :
13
+ security :
14
+ runs-on : ubuntu-latest
15
+ permissions :
16
+ security-events : write
17
+ contents : read
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+
21
+ - name : Run Trivy vulnerability scanner
22
+ uses : aquasecurity/trivy-action@master
23
+ with :
24
+ scan-type : ' fs'
25
+ scan-ref : ' .'
26
+ format : ' sarif'
27
+ output : ' trivy-results.sarif'
28
+ severity : ' CRITICAL,HIGH'
29
+
30
+ - name : Upload Trivy scan results to GitHub Security tab
31
+ uses : github/codeql-action/upload-sarif@v3
32
+ if : always()
33
+ with :
34
+ sarif_file : ' trivy-results.sarif'
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " divine-thegraph-token-api"
7
- version = " 0.1.6 "
7
+ version = " 0.1.7 "
8
8
authors = [
9
9
{
name =
" DIVINE" ,
email =
" [email protected] " },
10
10
]
You can’t perform that action at this time.
0 commit comments