Title: Support for locally present bundles · Issue #154 · github/codeql-action · GitHub
Open Graph Title: Support for locally present bundles · Issue #154 · github/codeql-action
X Title: Support for locally present bundles · Issue #154 · github/codeql-action
Description: I would like to run code-scanning with a custom code-scanning bundle that already is present on my local disk. I can currently do that by making the following hack: 1 Install bundle in tool cache: Use toolCache.cacheDir to install the bu...
Open Graph Description: I would like to run code-scanning with a custom code-scanning bundle that already is present on my local disk. I can currently do that by making the following hack: 1 Install bundle in tool cache: ...
X Description: I would like to run code-scanning with a custom code-scanning bundle that already is present on my local disk. I can currently do that by making the following hack: 1 Install bundle in tool cache: ...
Opengraph URL: https://github.com/github/codeql-action/issues/154
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for locally present bundles","articleBody":"I would like to run code-scanning with a custom code-scanning bundle\r\nthat already is present on my local disk. I can currently do that by\r\nmaking the following hack:\r\n\r\n### 1 Install bundle in tool cache:\r\n\r\nUse `toolCache.cacheDir` to install the bundle with a specially crafted ID:\r\n\r\n```js\r\ntc.cacheDir(localBundlePath, 'CodeQL', \"0.0.0-XXX-DUMMY-BUNDLE-ID\");\r\n```\r\n\r\n### 2 Convince codeql to look in the tool cache:\r\n\r\nThe codeql action is then invoked with a dummy URL that will make codeql.ts lookup the bundle with the specially crafted ID:\r\n\r\n```yaml\r\n ...\r\n tools: dummy://codeql-bundle-XXX-DUMMY-BUNDLE-ID/dummy\r\n ...\r\n```\r\n\r\n---\r\n\r\nThis works, but I would like a more reliable solution. I am not sure\r\nwhat the best approach is for supporting my use case, but I am happy\r\nto look into implementing a suggestion.\r\n","author":{"url":"https://github.com/esbena","@type":"Person","name":"esbena"},"datePublished":"2020-08-20T09:59:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/154/codeql-action/issues/154"}
| 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:d053116b-f3b2-2eb0-37a6-a8cc8d1f462a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8518:1CDD30:1B09ABD:24DE248:6A547FA2 |
| html-safe-nonce | 66801acb6da9fde60b608c441b23055d943807bb2bf1a07154241602042d601c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTE4OjFDREQzMDoxQjA5QUJEOjI0REUyNDg6NkE1NDdGQTIiLCJ2aXNpdG9yX2lkIjoiNDI2MTg5NDQ2NDc2MTc5MDM3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0deb463b91b8c3d863a4ac748998935a7482b68d6bbce78586ecd958e3965632 |
| hovercard-subject-tag | issue:682585237 |
| 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/154/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65ae932b9177cbb8596e0385a15ed3f79ffe6f8b4b7880663c80a4df347cdfb7/github/codeql-action/issues/154 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65ae932b9177cbb8596e0385a15ed3f79ffe6f8b4b7880663c80a4df347cdfb7/github/codeql-action/issues/154 |
| og:image:alt | I would like to run code-scanning with a custom code-scanning bundle that already is present on my local disk. I can currently do that by making the following hack: 1 Install bundle in tool cache: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | esbena |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width