Skip to content

Commit

Permalink
Fix CodeQL error: Resource not accessible by integration & Update Cod…
Browse files Browse the repository at this point in the history
…eQL version (#417)
  • Loading branch information
MoChilia authored Feb 20, 2024
1 parent aeb0c36 commit 3d449ed
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
schedule:
- cron: '0 19 * * 0'

permissions:
actions: read
contents: read
security-events: write

jobs:
CodeQL-Build:

Expand All @@ -18,14 +23,14 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: javascript

# 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
Expand All @@ -39,4 +44,4 @@ jobs:
# make release

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

0 comments on commit 3d449ed

Please sign in to comment.