fix: update codeql workflow

This commit is contained in:
Michal Čihař 2025-01-23 16:24:48 +01:00
parent 80eb8b7b14
commit 9b279e6c8d

View file

@ -16,18 +16,23 @@ on:
schedule:
- cron: 0 4 * * 0

permissions:
contents: read

jobs:
analyze:
permissions:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/autobuild to send a status report
name: Analyze
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4 # v4
uses: actions/checkout@v4

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

- name: Autobuild
uses: github/codeql-action/autobuild@v3