Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# ghas-management-template-version: 1.0
# ghas-management-template-version: 1.1

name: "CodeQL Advanced Security Scanning"

on:
# Initial proposal is daily runs to avoid overloading runners, teams can uncomment below to enable on push and PR events
# push:
# branches: [ "main", "master" ]
# pull_request:
# branches: [ "main", "master" ]
schedule:
- cron: '18 4 * * *' # Randomized per repository, daily runs somewhere between 22:00 and 06:00 UTC
workflow_dispatch:
Expand All @@ -17,7 +22,7 @@ env:
jobs:
analyze:
name: Analyze
runs-on: ee-runner
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
Expand All @@ -40,7 +45,7 @@ jobs:
if: ${{ matrix.language == 'javascript-typescript' }}
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
node-version: 'lts/*' # Adapt if your project requires a specific version

- name: Initialize CodeQL
uses: github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
Expand All @@ -52,4 +57,4 @@ jobs:
uses: github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
with:
category: "/language:${{matrix.language}}"
threads: 2
threads: 2