Skip to content

Commit 7ac41c1

Browse files
committed
feat: add GitHub Workflow for Radar Static Analysis
1 parent 37779f8 commit 7ac41c1

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/radar.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Radar Static Analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
actions: read
11+
contents: read
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
analyze:
19+
runs-on: ubuntu-latest
20+
permissions:
21+
security-events: write
22+
actions: read
23+
contents: read
24+
25+
steps:
26+
- uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
- name: Run radar
30+
id: radar
31+
uses: auditware/radar-action@main
32+
with:
33+
path: '.'
34+
ignore: 'low'
35+
36+
- name: Upload SARIF file
37+
uses: github/codeql-action/upload-sarif@v3
38+
with:
39+
sarif_file: output.sarif

0 commit comments

Comments
 (0)