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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade CodeQL Action to v2 #1755

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Feb 2, 2024

PR Feedback (click)

  • 馃憤 Sweep Did Well
  • 馃憥 Sweep Needs Improvement
    I created this PR to fix the failing GitHub Actions.## Description
    This PR addresses the issue of the failing GitHub Actions workflow due to the use of a deprecated version of the CodeQL Action (v1). The error logs provided in the issue description suggested upgrading to CodeQL Action v2 for better performance, improved security, and new features. Additionally, the error logs mentioned that Advanced Security must be enabled for the repository to use code scanning.

The changes in this PR involve modifying the .github/workflows/codeql-analysis.yml file to upgrade the CodeQL Action from v1 to v2. This upgrade is necessary to resolve the deprecation warning and ensure that the workflow can run successfully.

Summary of Changes

  • Updated the version of the CodeQL Action used in the workflow from uses: github/codeql-action/init@v1 to uses: github/codeql-action/init@v2 in the .github/workflows/codeql-analysis.yml file.

Please note that after merging this PR, the repository owner or an administrator should ensure that Advanced Security is enabled for the repository to use code scanning. This action must be performed through the GitHub repository settings and is not part of the code changes.

Copy link
Contributor Author

sweep-ai bot commented Feb 2, 2024

Rollback Files For Sweep

  • Rollback changes to .github/workflows/codeql-analysis.yml
  • Rollback changes to .github/workflows/codeql-analysis.yml

@sweep-ai sweep-ai bot added the sweep Assigns Sweep to an issue or pull request. label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GitHub Settings sweep Assigns Sweep to an issue or pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant