GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Allow omitting the autobuild Action when build mode specified by henrymercer · Pull Request #2120 · github/codeql-action

Conversation

@henrymercer

@henrymercer henrymercer commented Feb 7, 2024

Copy link
Copy Markdown
Contributor

This PR enables users to omit the autobuild Action when the build mode is specified and the CLI supports the traceCommandUseBuildMode feature (available in CodeQL CLI 2.16.2 and later). This will remove redundancy and reduce the possibility for errors.

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
henrymercer added 4 commits February 7, 2024 13:13
@henrymercer
Extract separate function for warnIfGoInstalledAfterInit
db6e5ff
@henrymercer
Extract language appropriately in analyze step when build mode specified
0fe34bd
@henrymercer
Don't run autobuild in analyze if already ran in autobuild
8fb654e
@henrymercer
Test omitting autobuild Action when build mode specified
0ab8e2a
@henrymercer
henrymercer requested a review from a team as a code owner February 7, 2024 13:31
angelapwen
angelapwen previously approved these changes Feb 7, 2024
View reviewed changes

@angelapwen angelapwen left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Cool! I like how simple that test was 💖

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/analyze.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@henrymercer
henrymercer dismissed angelapwen’s stale review via 3bd00e8 February 8, 2024 14:33
@henrymercer
Add PR checks for other build modes
f3ced61
@henrymercer
henrymercer force-pushed the henrymercer/no-autobuild-action-necessary-with-build-mode branch from 3bd00e8 to f3ced61 Compare February 8, 2024 16:00
@henrymercer

henrymercer commented Feb 8, 2024

Copy link
Copy Markdown
Contributor Author

@angelapwen I added a couple more tests for the other build modes. Would you mind taking another look?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

angelapwen
angelapwen approved these changes Feb 8, 2024
View reviewed changes

@angelapwen angelapwen left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

The new tests look good to me! Should this have a changelog note? Or will we wait for a general larger-scale announcement of the new build modes?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

henrymercer reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@henrymercer

henrymercer commented Feb 8, 2024

Copy link
Copy Markdown
Contributor Author

Right now, this is just for internal testing. Once we've finished testing, we can remove all the internal labels and add a changelog note with all the changes.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@henrymercer
henrymercer enabled auto-merge February 8, 2024 16:16
@henrymercer
henrymercer merged commit fc9f9e5 into main Feb 8, 2024
@henrymercer
henrymercer deleted the henrymercer/no-autobuild-action-necessary-with-build-mode branch February 8, 2024 16:23
@github-actions github-actions Bot mentioned this pull request Feb 13, 2024
Merge main into releases/v3 #2131
Merged
7 of 8 tasks
@henrymercer henrymercer mentioned this pull request Feb 13, 2024
Merge releases/v3 into releases/v2 #2133
Merged
8 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@angelapwen angelapwen angelapwen approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@henrymercer @angelapwen
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.