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

Extract git-utils.ts by cklin · Pull Request #2639 · github/codeql-action · GitHub

Extract git-utils.ts - #2639

Merged
cklin merged 3 commits into
mainfrom
cklin/extract-git-utils
Dec 10, 2024
Merged

cklin merged 3 commits into
mainfrom
cklin/extract-git-utils

Conversation

cklin commented Dec 9, 2024

Copy link
Copy Markdown
Contributor

This is a refactoring PR that addresses the TODO item left from #2559.

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.

cklin marked this pull request as ready for review December 9, 2024 23:03
cklin requested a review from a team as a code owner December 9, 2024 23:03
henrymercer previously approved these changes Dec 10, 2024

henrymercer 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

Thanks for this! Are there any other changes beyond reorganizing the files? I didn't see anything obvious, but wanted to double check.

Base automatically changed from cklin/diff-informed-graph-fetching-tweak to main December 10, 2024 16:42
cklin dismissed henrymercer’s stale review December 10, 2024 16:42

The base branch was changed.

cklin commented Dec 10, 2024

Copy link
Copy Markdown
Contributor Author

Thanks for this! Are there any other changes beyond reorganizing the files? I didn't see anything obvious, but wanted to double check.

This is a pure refactoring PR, and there are no changes beyond reorganizing the files.

cklin force-pushed the cklin/extract-git-utils branch from 9bdb53b to 300d251 Compare December 10, 2024 16:46
cklin requested a review from henrymercer December 10, 2024 16:46
Comment thread src/git-utils.ts
// the GITHUB_REF as that is a protected variable and cannot be overwritten.
let refEnv: string;
try {
refEnv = getRequiredEnvParam("GITHUB_REF");

Check warning

Code scanning / CodeQL

Some environment variables may not exist in default setup workflows

The environment variable GITHUB_REF may not exist in default setup workflows. If all uses are safe, add it to the list of environment variables that are known to be safe in 'queries/default-setup-environment-variables.ql'. If this use is safe but others are not, dismiss this alert as a false positive.
cklin merged commit 4d64ab6 into main Dec 10, 2024
cklin deleted the cklin/extract-git-utils branch December 10, 2024 18:26
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