René's URL Explorer Experiment


Title: `upload-sarif` action seems to always use `GITHUB_WORKSPACE` Git information to compute `commit_oid` · Issue #952 · github/codeql-action · GitHub

Open Graph Title: `upload-sarif` action seems to always use `GITHUB_WORKSPACE` Git information to compute `commit_oid` · Issue #952 · github/codeql-action

X Title: `upload-sarif` action seems to always use `GITHUB_WORKSPACE` Git information to compute `commit_oid` · Issue #952 · github/codeql-action

Description: Uploading SARIF files using the upload-sarif@v1 action can fail with: Processing sarif files: ["scan.sarif"] Uploading results Error: commit not found RequestError [HttpError]: commit not found The problem here seems to be that the commi...

Open Graph Description: Uploading SARIF files using the upload-sarif@v1 action can fail with: Processing sarif files: ["scan.sarif"] Uploading results Error: commit not found RequestError [HttpError]: commit not found The...

X Description: Uploading SARIF files using the upload-sarif@v1 action can fail with: Processing sarif files: ["scan.sarif"] Uploading results Error: commit not found RequestError [HttpError]: commit not...

Opengraph URL: https://github.com/github/codeql-action/issues/952

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`upload-sarif` action seems to always use `GITHUB_WORKSPACE` Git information to compute `commit_oid`","articleBody":"Uploading SARIF files using the `upload-sarif@v1` action can fail with:\r\n\r\n```\r\nProcessing sarif files: [\"scan.sarif\"]\r\nUploading results\r\nError: commit not found\r\nRequestError [HttpError]: commit not found\r\n```\r\n\r\nThe problem here seems to be that the `commit_oid` parameter in the uploaded JSON is from an entirely different repository: the repository that's the \"main\" checkout (the one with empty `path` parameter to `actions/checkout@v2`), even with `checkout_path` specified.\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003eFull log output\u003c/summary\u003e\r\n\r\n```\r\n Processing sarif files: [\"jenkins-security-scan.sarif\"]\r\n Uploading results\r\n Error: commit not found\r\n RequestError [HttpError]: commit not found\r\n     at /home/runner/work/_actions/github/codeql-action/v1/node_modules/@octokit/request/dist-node/index.js:66:23\r\n     at processTicksAndRejections (internal/process/task_queues.js:93:5)\r\n     at async Job.doExecute (/home/runner/work/_actions/github/codeql-action/v1/node_modules/bottleneck/light.js:405:18) {\r\n   name: 'HttpError',\r\n   status: 404,\r\n   headers: {\r\n     'access-control-allow-origin': '*',\r\n     'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',\r\n     connection: 'close',\r\n     'content-encoding': 'gzip',\r\n     'content-security-policy': \"default-src 'none'\",\r\n     'content-type': 'application/json; charset=utf-8',\r\n     date: 'Fri, 25 Feb 2022 10:29:15 GMT',\r\n     'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',\r\n     server: 'GitHub.com',\r\n     'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',\r\n     'transfer-encoding': 'chunked',\r\n     vary: 'Accept-Encoding, Accept, X-Requested-With',\r\n     'x-content-type-options': 'nosniff',\r\n     'x-frame-options': 'deny',\r\n     'x-github-media-type': 'github.v3; format=json',\r\n     'x-github-request-id': '0403:3D83:83138D:1507C61:6218AF7B',\r\n     'x-ratelimit-limit': '1000',\r\n     'x-ratelimit-remaining': '995',\r\n     'x-ratelimit-reset': '1645785350',\r\n     'x-ratelimit-resource': 'code_scanning_upload',\r\n     'x-ratelimit-used': '5',\r\n     'x-xss-protection': '0'\r\n   },\r\n   request: {\r\n     method: 'PUT',\r\n     url: 'https://api.github.com/repos/daniel-beck-org/sample-plugin/code-scanning/analysis',\r\n     headers: {\r\n       accept: 'application/vnd.github.v3+json',\r\n       'user-agent': 'CodeQL-Action/1.1.3 octokit-core.js/3.1.2 Node.js/12.13.1 (linux; x64)',\r\n       authorization: 'token [REDACTED]',\r\n       'content-type': 'application/json; charset=utf-8'\r\n     },\r\n     body: '{\"commit_oid\":\"92e0b0945a6334eeeb4c65a78c2be5a7767e3cc9\",\"ref\":\"refs/heads/main\",\"analysis_key\":\".github/workflows/jss.yaml:scan\",\"analysis_name\":\"Jenkins Security Scan\",\"sarif\":\"...\",\"workflow_run_id\":1898119060,\"checkout_uri\":\"file:///home/runner/work/sample-plugin/sample-plugin\",\"environment\":\"null\",\"started_at\":\"2022-02-25T10:29:14.509Z\",\"tool_names\":[\"Jenkins Security Scan\"]}',\r\n     request: { agent: [Agent], hook: [Function: bound bound register] }\r\n   },\r\n   documentation_url: 'https://docs.github.com/rest'\r\n }\r\n```\r\n\r\n\u003c/details\u003e\r\n\r\nIf no repository is checked out at this location (i.e. every `actions/checkout@v2` has a `path`), then the error is the same as in #944 (but at least the upload still happens, at least for a non-PR upload).","author":{"url":"https://github.com/daniel-beck","@type":"Person","name":"daniel-beck"},"datePublished":"2022-02-26T14:46:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/952/codeql-action/issues/952"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:78b5f4f4-6c97-78d8-9b34-d9cc1ea29b63
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id971E:F42CE:9AAADF:D98B78:696A51C4
html-safe-noncea83caafb9f7b26c224bf816fdaf798ebc122c603875b1e324740af32d5002ebd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzFFOkY0MkNFOjlBQUFERjpEOThCNzg6Njk2QTUxQzQiLCJ2aXNpdG9yX2lkIjoiNDc4NzcwOTc5MTYyNDEyMjgyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6568e57a2660682596a9c6dc8a0935cfb446b2fd4fa8f5169cfca1e3a90fa17a
hovercard-subject-tagissue:1151829850
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/952/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e897b9d8c415a259c6647c6a1b95cb52f761b33800eed162c43c6d3efa779ae1/github/codeql-action/issues/952
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e897b9d8c415a259c6647c6a1b95cb52f761b33800eed162c43c6d3efa779ae1/github/codeql-action/issues/952
og:image:altUploading SARIF files using the upload-sarif@v1 action can fail with: Processing sarif files: ["scan.sarif"] Uploading results Error: commit not found RequestError [HttpError]: commit not found The...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedaniel-beck
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
turbo-cache-controlno-preview
go-importgithub.com/github/codeql-action git https://github.com/github/codeql-action.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id259445878
octolytics-dimension-repository_nwogithub/codeql-action
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id259445878
octolytics-dimension-repository_network_root_nwogithub/codeql-action
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/issues/952#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fissues%2F952
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fissues%2F952
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/issues/952
Reloadhttps://github.com/github/codeql-action/issues/952
Reloadhttps://github.com/github/codeql-action/issues/952
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 434 https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Star 1.5k https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Code https://github.com/github/codeql-action
Issues 145 https://github.com/github/codeql-action/issues
Pull requests 15 https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/github/codeql-action/security
Please reload this pagehttps://github.com/github/codeql-action/issues/952
Insights https://github.com/github/codeql-action/pulse
Code https://github.com/github/codeql-action
Issues https://github.com/github/codeql-action/issues
Pull requests https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
New issuehttps://github.com/login?return_to=https://github.com/github/codeql-action/issues/952
New issuehttps://github.com/login?return_to=https://github.com/github/codeql-action/issues/952
#956https://github.com/github/codeql-action/pull/956
upload-sarif action seems to always use GITHUB_WORKSPACE Git information to compute commit_oidhttps://github.com/github/codeql-action/issues/952#top
#956https://github.com/github/codeql-action/pull/956
https://github.com/aeisenberg
https://github.com/daniel-beck
https://github.com/daniel-beck
daniel-beckhttps://github.com/daniel-beck
on Feb 26, 2022https://github.com/github/codeql-action/issues/952#issue-1151829850
#944https://github.com/github/codeql-action/issues/944
aeisenberghttps://github.com/aeisenberg
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.