FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use embedded `actions` extractor only for old CLI versions by dbartol · Pull Request #2788 · github/codeql-action · GitHub

Use embedded actions extractor only for old CLI versions - #2788

Merged
dbartol merged 2 commits into
mainfrom
dbartol/use-real-actions-extractor
Mar 3, 2025
Merged

dbartol merged 2 commits into
mainfrom
dbartol/use-real-actions-extractor

Conversation

dbartol commented Feb 27, 2025
edited
Loading

Copy link
Copy Markdown

When trying to remove the embedded actions extractor, we discovered that the extractor in the actual CLI download is missing the execute bit on its scripts. That's fixed in 2.20.6, so I've changed the Action to only use the embedded extractor for pre-2.20.6 versions.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Copilot AI review requested due to automatic review settings February 27, 2025 20:37
dbartol requested a review from a team as a code owner February 27, 2025 20:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

PR Overview

This PR updates the logic to use the embedded actions extractor only for CLI versions prior to 2.20.6.

  • Updates conditional logic based on the CodeQL version
  • Includes detailed inline comments explaining the rationale for maintaining the embedded extractor for older versions

Reviewed Changes

File Description
src/codeql.ts Modified conditional check to use the embedded extractor only for pre-2.20.6 versions

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

dbartol force-pushed the dbartol/use-real-actions-extractor branch from bd44fca to 85e30fe Compare February 27, 2025 20:42
dbartol requested a review from angelapwen February 27, 2025 22:04
angelapwen previously approved these changes Feb 27, 2025

angelapwen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Makes sense to me 👍 do we want to add a changenote for this or are we skipping it because it's experimental?

dbartol commented Feb 27, 2025

Copy link
Copy Markdown
Author

do we want to add a changenote for this

For this change, there should be no user-visible impact, so I'm skipping the change note. When we do finally remove the embedded extractor entirely, I'll add a change note, although we don't expect any users to actually notice the breaking change.

Copy link
Copy Markdown
Contributor

Sounds good to me!! 🚢

dbartol merged commit 80f9930 into main Mar 3, 2025
dbartol deleted the dbartol/use-real-actions-extractor branch March 3, 2025 18:59
github-actions Bot mentioned this pull request Mar 7, 2025
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL