Skip to content

Commit d345d73

Browse files
authored
ci: add security analysis workflow (#87)
* ci: add security analysis workflow * style: format security workflow
1 parent fcc3ce1 commit d345d73

File tree

2 files changed

+26
-42
lines changed

2 files changed

+26
-42
lines changed

.github/workflows/security.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Security Analysis
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
types: [opened, synchronize]
7+
paths:
8+
- ".github/workflows/**"
9+
push:
10+
branches:
11+
- main
12+
paths:
13+
- ".github/workflows/**"
14+
15+
permissions: {}
16+
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
19+
cancel-in-progress: ${{ github.ref_name != 'main' }}
20+
21+
jobs:
22+
security:
23+
name: Security Analysis
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: oxc-project/security-action@fbbd523b1e765ceb174cb819b92c453bb1da265e # v1.0.0

.github/workflows/zizmor.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)