@davoodmehraban89 / medusa / commits / bd915698
Fork 0

security(codeql): cover imported GitHub Actions workflows as well as TypeScript

davoodmehraban89 committed Oct 14, 2026 at 22:34 UTC bd9156987e0d0288a44a43f7b5c5246ad8192907
1 file changed +20 -2
.github/workflows/security-codeql.yml
+20 -2
@@ -8,7 +8,7 @@ on:
8 - "packages/**"
9 - "scripts/**"
10 - ".github/codeql/**"
11 - - ".github/workflows/security-codeql.yml"
11 + - ".github/workflows/**"
12 push:
13 branches: [main]
14 paths:
@@ -16,7 +16,7 @@ on:
16 - "packages/**"
17 - "scripts/**"
18 - ".github/codeql/**"
19 - - ".github/workflows/security-codeql.yml"
19 + - ".github/workflows/**"
20 schedule:
21 - cron: "23 4 * * 1"
22 workflow_dispatch:
@@ -48,3 +48,21 @@ jobs:
48 uses: github/codeql-action/analyze@v4
49 with:
50 category: /language:javascript-typescript
51 +
52 + analyze-actions:
53 + name: CodeQL GitHub Actions workflows
54 + runs-on: ubuntu-latest
55 + timeout-minutes: 60
56 + steps:
57 + - name: Checkout source
58 + uses: actions/checkout@v6
59 + - name: Initialize CodeQL for Actions
60 + uses: github/codeql-action/init@v4
61 + with:
62 + languages: actions
63 + build-mode: none
64 + queries: security-extended
65 + - name: Analyze workflow files
66 + uses: github/codeql-action/analyze@v4
67 + with:
68 + category: /language:actions