From f6e1d0872c19bbfa255546e410b7fb77f6996aab Mon Sep 17 00:00:00 2001 From: Taylor Dolezal Date: Thu, 26 Dec 2024 23:28:40 -0800 Subject: [PATCH 1/2] Update permissions in codeql-analysis workflow --- .github/workflows/codeql-analysis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5eea9e1cf..9235cd1a2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,6 +22,8 @@ on: permissions: contents: read + security-events: write + actions: read jobs: analyze: From f37a08415f8eda44fe43af6e58992960a8d4b1ce Mon Sep 17 00:00:00 2001 From: Taylor Dolezal Date: Thu, 26 Dec 2024 23:37:15 -0800 Subject: [PATCH 2/2] Update CodeQL action versions to v3 in workflow --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9235cd1a2..cc9e7209f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -44,7 +44,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -55,7 +55,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -69,4 +69,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3