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

Increase strictness of tool caching threshold to avoid caching nightlies by henrymercer · Pull Request #1496 · github/codeql-action · GitHub

Increase strictness of tool caching threshold to avoid caching nightlies - #1496

Merged
henrymercer merged 3 commits into
mainfrom
henrymercer/no-cache-nightlies
Jan 20, 2023
Merged

Increase strictness of tool caching threshold to avoid caching nightlies#1496
henrymercer merged 3 commits into
mainfrom
henrymercer/no-cache-nightlies

Conversation

Copy link
Copy Markdown
Contributor

If the CLI version number of a CodeQL Bundle is a pre-release, then we want to avoid versioning the bundle in the toolcache as <cliVersion>-<bundleVersion>, so we don't interpret this toolcache entry as containing a stable CLI release.

However, we currently version CodeQL nightlies as x.y.z+<timestamp>. Even though these are not pre-releases, we do not want bundles containing them to override CodeQL bundles containing stable versions of the CodeQL CLI.

Therefore this PR ensures we only version bundles as <cliVersion>-<bundleVersion> in the toolcache when cliVersion is of the form x.y.z. All other bundles will be versioned as 0.0.0-<bundleVersion> within the toolcache.

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.

henrymercer requested a review from a team as a code owner January 20, 2023 15:27
Base automatically changed from henrymercer/upgrade-typescript to main January 20, 2023 16:28

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

Looks good to me~

henrymercer enabled auto-merge January 20, 2023 17:35
henrymercer merged commit 421a1b3 into main Jan 20, 2023
henrymercer deleted the henrymercer/no-cache-nightlies branch January 20, 2023 17:57
github-actions Bot mentioned this pull request Jan 26, 2023
6 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.

2 participants


Back | FazBrowse Home | New Git URL