Skip to content

Commit

Permalink
Update CodeQL action
Browse files Browse the repository at this point in the history
  • Loading branch information
hknokh committed Apr 30, 2024
1 parent b3abad8 commit 1bed229
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
name: "CodeQL"

permissions:
contents: read # Default read-only at the top level

on:
push:
branches: [ master ]
paths:
- 'src/**/*' # Trigger only when files in src folder are changed
pull_request:
branches: [ master ]
paths:
- 'src/**/*' # Trigger only when files in src folder are changed
schedule:
- cron: '0 14 * * 0' # Schedule a weekly run
workflow_dispatch: # Allows the workflow to be run manually


jobs:
analyze:
name: Analyze
Expand All @@ -27,4 +36,4 @@ jobs:
languages: typescript

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v3

0 comments on commit 1bed229

Please sign in to comment.