Title: Add CodeQL version to github/codeql-action/init outputs · Issue #2367 · github/codeql-action · GitHub
Open Graph Title: Add CodeQL version to github/codeql-action/init outputs · Issue #2367 · github/codeql-action
X Title: Add CodeQL version to github/codeql-action/init outputs · Issue #2367 · github/codeql-action
Description: Hi there, I'm working on caching some query compilations and it'd be helpful to receive the CodeQL version as output from the github/codeql-action/init action. This could be done similar to the codeql-path output. It appears that this wo...
Open Graph Description: Hi there, I'm working on caching some query compilations and it'd be helpful to receive the CodeQL version as output from the github/codeql-action/init action. This could be done similar to the cod...
X Description: Hi there, I'm working on caching some query compilations and it'd be helpful to receive the CodeQL version as output from the github/codeql-action/init action. This could be done similar to...
Opengraph URL: https://github.com/github/codeql-action/issues/2367
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add CodeQL version to github/codeql-action/init outputs","articleBody":"Hi there,\r\n\r\nI'm working on caching some query compilations and it'd be helpful to receive the CodeQL version as output from the `github/codeql-action/init` action. This could be done similar to the `codeql-path` output. It appears that this would require minimal changes in the following locations:\r\n\r\nhttps://github.com/github/codeql-action/blob/b611370bb5703a7efb587f9d136a52ea24c5c38c/src/init-action.ts#L557\r\n\r\nAdd something like `core.setOutput(\"codeql-version\", await codeql.getVersion()).version)`.\r\n\r\nAnd:\r\n\r\nhttps://github.com/github/codeql-action/blob/b611370bb5703a7efb587f9d136a52ea24c5c38c/init/action.yml#L139-L141\r\n\r\nAdd something like:\r\n\r\n```yaml\r\n codeql-version: \r\n description: The version of the CodeQL binary used for analysis \r\n```","author":{"url":"https://github.com/mschwager","@type":"Person","name":"mschwager"},"datePublished":"2024-07-10T14:13:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2367/codeql-action/issues/2367"}
| 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:3bf83834-52e8-40f4-9015-33ee782c2f8a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E69A:29681E:65F5C2:86F491:6A53F13F |
| html-safe-nonce | 06109f87dd49ad180da8e6483a918043458cb3437c0e32e5f560144d60609949 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjlBOjI5NjgxRTo2NUY1QzI6ODZGNDkxOjZBNTNGMTNGIiwidmlzaXRvcl9pZCI6IjY1NTQ4MTg0MzU2ODczNzkyNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a215c4dbd5beb890a535c1bae2cb2ecafa4b1133579c49182daa83fd9caf380a |
| hovercard-subject-tag | issue:2400896884 |
| 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/2367/issue_layout |
| twitter:image | https://opengraph.githubassets.com/379e922d623553fe637cb0ef9072c81f3e12ebcfd0059173987a0f3e13de4594/github/codeql-action/issues/2367 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/379e922d623553fe637cb0ef9072c81f3e12ebcfd0059173987a0f3e13de4594/github/codeql-action/issues/2367 |
| og:image:alt | Hi there, I'm working on caching some query compilations and it'd be helpful to receive the CodeQL version as output from the github/codeql-action/init action. This could be done similar to the cod... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mschwager |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width