Title: upload-sarif: `git call failed.` more times than necessary for a working directory without a git repository · Issue #3383 · github/codeql-action · GitHub
Open Graph Title: upload-sarif: `git call failed.` more times than necessary for a working directory without a git repository · Issue #3383 · github/codeql-action
X Title: upload-sarif: `git call failed.` more times than necessary for a working directory without a git repository · Issue #3383 · github/codeql-action
Description: codeql-action/src/git-utils.ts Line 87 in f67ec12 core.info(`git call failed. ${customErrorMessage} Error: ${reason}`); https://github.com/check-spelling-sandbox/skipper/actions/runs/20649925837/job/59292941788 Run github/codeql-action/u...
Open Graph Description: codeql-action/src/git-utils.ts Line 87 in f67ec12 core.info(`git call failed. ${customErrorMessage} Error: ${reason}`); https://github.com/check-spelling-sandbox/skipper/actions/runs/20649925837/jo...
X Description: codeql-action/src/git-utils.ts Line 87 in f67ec12 core.info(`git call failed. ${customErrorMessage} Error: ${reason}`); https://github.com/check-spelling-sandbox/skipper/actions/runs/20649925837/jo...
Opengraph URL: https://github.com/github/codeql-action/issues/3383
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"upload-sarif: `git call failed.` more times than necessary for a working directory without a git repository","articleBody":"https://github.com/github/codeql-action/blob/f67ec12472e1b361f5e1e2085f5e6f85a57e3cd6/src/git-utils.ts#L87\n\nhttps://github.com/check-spelling-sandbox/skipper/actions/runs/20649925837/job/59292941788\n\n```js\nRun github/codeql-action/upload-sarif@7434149006143a4d75b82a2f411ef15b03ccc2d7\ngit call failed. Continuing with commit SHA from user input or environment. Error: The checkout path provided to the action does not appear to be a git repository.\nUploading code scanning results\n Processing sarif files: [\"cifuzz-sarif/results.sarif\"]\n Validating cifuzz-sarif/results.sarif\n Adding fingerprints to SARIF file. See https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#providing-data-to-track-code-scanning-alerts-across-runs for more information.\n (node:12002) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.\n (Use `node --trace-deprecation ...` to show where the warning was created)\n git call failed. Continuing with commit SHA from user input or environment. Error: The checkout path provided to the action does not appear to be a git repository.\n git call failed. Continuing with commit SHA from user input or environment. Error: The checkout path provided to the action does not appear to be a git repository.\n git call failed. Will calculate the base branch SHA on the server. Error: The checkout path provided to the action does not appear to be a git repository.\n Uploading results\n Successfully uploaded results\nWaiting for processing to finish\ngit call failed. Continuing with commit SHA from user input or environment. Error: The checkout path provided to the action does not appear to be a git repository.\n```\n\nIdeally, the action should be able to \"quickly\" determine that there isn't a repository checked out and not waste additional time running git commands.\n\nNote that this flow (using google/clusterfuzzlite/actions/run_fuzzers and then ideally uploading sarif output) is a flow that people expect to be able to do (yes, Google is missing documentation for how to do it, but...).","author":{"url":"https://github.com/jsoref","@type":"Person","name":"jsoref"},"datePublished":"2026-01-02T04:26:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/3383/codeql-action/issues/3383"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6933bac9-1990-9275-642b-4aee4c5a7ac3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 937C:D9031:18E2B81:2096CF1:696B8C61 |
| html-safe-nonce | 1090e316cf54af2a08d4561e6b4ec24fc7f97f96b555dc3b062671ff4ec5fe7d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzdDOkQ5MDMxOjE4RTJCODE6MjA5NkNGMTo2OTZCOEM2MSIsInZpc2l0b3JfaWQiOiIzNjM2NjMyMDE3NjkzMjgxMzc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 263e8ceb6a47a3ade6b991b04d5d80595a200465560ac1c906fb02577f905b4d |
| hovercard-subject-tag | issue:3775565380 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/3383/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5da3596d77b66534885b6106153bc81986758c97cd73a5e05669d3b163444ece/github/codeql-action/issues/3383 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5da3596d77b66534885b6106153bc81986758c97cd73a5e05669d3b163444ece/github/codeql-action/issues/3383 |
| og:image:alt | codeql-action/src/git-utils.ts Line 87 in f67ec12 core.info(`git call failed. ${customErrorMessage} Error: ${reason}`); https://github.com/check-spelling-sandbox/skipper/actions/runs/20649925837/jo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsoref |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width