Skip to content

Conversation

@GeekMasher
Copy link
Contributor

No description provided.

@GeekMasher GeekMasher requested a review from a team as a code owner September 12, 2025 13:23
@github-actions
Copy link

github-actions bot commented Sep 12, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA d935f6f.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes token handling and logging in the CodeQL extractor by improving the token retrieval logic and ensuring proper authentication throughout the codeql installation process.

  • Improves token handling in the get_token() method with better fallback logic and debug logging
  • Fixes GitHub CLI authentication by properly passing tokens to all commands
  • Reorganizes directory path checking for better prioritization of working directory

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/main.rs Moves SARIF directory creation earlier and fixes method name from .output() to .sarif()
src/codeql.rs Improves token handling in CodeQL installation with proper authentication flow
src/action.rs Enhances token retrieval logic with better fallback handling and directory path ordering

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@GeekMasher GeekMasher merged commit 5b2a16e into main Sep 12, 2025
10 checks passed
@GeekMasher GeekMasher deleted the patch-codeql-loading branch September 12, 2025 13:30
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