سامانه صدور فاکتور و حسابداری
Add native GitHub security scanning
davoodmehraban89 committed
Sep 28, 2026 at 14:29 UTC
94d84553181d257362b80294cb5929fa0e98bf31
1 file changed
+30
.github/workflows/security.yml
new
+30
@@ -0,0 +1,30 @@
1
+name: Security checks
2
+on:
3
+ push:
4
+ branches: [main]
5
+ pull_request:
6
+ workflow_dispatch:
7
+permissions:
8
+ contents: read
9
+ security-events: write
10
+jobs:
11
+ codeql:
12
+ name: CodeQL JavaScript
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - uses: github/codeql-action/init@v3
17
+ with:
18
+ languages: javascript-typescript
19
+ - uses: github/codeql-action/analyze@v3
20
+ with:
21
+ category: /language:javascript-typescript
22
+ dependency-review:
23
+ name: Dependency review
24
+ if: github.event_name == 'pull_request'
25
+ runs-on: ubuntu-latest
26
+ permissions:
27
+ contents: read
28
+ steps:
29
+ - uses: actions/checkout@v4
30
+ - uses: actions/dependency-review-action@v4