Skip to content

Commit

Permalink
Update CodeQL workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomt committed Mar 3, 2024
1 parent edbc3dd commit 3dace58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [master]
schedule:
- cron: '0 11 * * 2'
- cron: '0 0 1 * *'

jobs:
analyze:
Expand All @@ -19,17 +19,17 @@ jobs:
language: ['javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 2

- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

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

0 comments on commit 3dace58

Please sign in to comment.