summaryrefslogtreecommitdiff
path: root/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorbeatrice <beatrice@dangofactory.net>2026-11-22 20:03:00 +0900
committerbeatrice <beatrice@dangofactory.net>2026-11-22 20:03:00 +0900
commit2d8ae60f18b379215be576a0d533e28fa28e1bf1 (patch)
tree47cd73ec5fd53931d2dcdd634a9e7687c4449185 /.github/workflows/codeql-analysis.yml
parent77e1ce5d6dee871c49ef211222ba18ef0c486bda (diff)
downloadlibsodium-master.tar.gz
libsodium-master.zip
Release tarball libsodium.tar.gz (dist-generated files / local differences from tag)HEADlocal/libsodiummaster
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r--.github/workflows/codeql-analysis.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 0046e135..a0ddc769 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -2,13 +2,16 @@ name: "CodeQL scan"
on:
push:
- branches: [ "master stable next" ]
+ branches: [ "master", "stable", "next" ]
pull_request:
# The branches below must be a subset of the branches above
- branches: [ "master stable next" ]
+ branches: [ "master", "stable", "next" ]
schedule:
- cron: '0 17 * * 2'
+permissions:
+ contents: read
+
jobs:
analyze:
name: Analyze
@@ -26,13 +29,14 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v6
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
+ persist-credentials: false
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v4
+ uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
languages: ${{ matrix.language }}
@@ -43,6 +47,6 @@ jobs:
make -j $(nproc) check
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v4
+ uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
category: "/language:${{matrix.language}}"