Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CodeQL error: Resource not accessible by integration & Update CodeQL version #417

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

MoChilia
Copy link
Member

  1. Add permission for the workflow to fix the error: CodeQL-Build: Resource not accessible by integration. This is due to the permission change in GitHub Action: https://docs.opensource.microsoft.com/github/apps/permission-changes/.

  2. Update CodeQL version from v2 to v3 to fix the warning: CodeQL-Build: CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/

Example: workflow

@MoChilia MoChilia merged commit 3d449ed into master Feb 20, 2024
8 of 25 checks passed
@MoChilia MoChilia deleted the sy/fix-codeql0220 branch February 20, 2024 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants