Title: Support additional codeql options by esbena · Pull Request #138 · github/codeql-action · GitHub
Open Graph Title: Support additional codeql options by esbena · Pull Request #138 · github/codeql-action
X Title: Support additional codeql options by esbena · Pull Request #138 · github/codeql-action
Description: This PR enables setting additional options for the codeql invocations. See main...esbena/additional-codeql-options#diff-fabdc04b7538bbb9cb582f726acf408cR428 as an example. The end result is that runs like this are possible: --logdir is set for all codeql commands, --debug / --tuple-counting are set for some codeql database analyze invocations. This is achieved by reading a JSON object from a special environment variable, and then propagating that object all the way to all codeql invocations. There are two main alternatives to this design: setting the options through additional inputs in each codeql-action action instead of a single shell variable being explicit about the additional supported options instead of propagating an unstructed object the action would then require an update each time a new configurable option is required Questions: What should the environmen variable be named? Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. this change simply reads a new optional environment variable, and doesn't change behaviour if the variable isn't present Confirm the readme has been updated if necessary. the feature is intended for internal codeql users, so documentation is not required
Open Graph Description: This PR enables setting additional options for the codeql invocations. See main...esbena/additional-codeql-options#diff-fabdc04b7538bbb9cb582f726acf408cR428 as an example. The end result is that ru...
X Description: This PR enables setting additional options for the codeql invocations. See main...esbena/additional-codeql-options#diff-fabdc04b7538bbb9cb582f726acf408cR428 as an example. The end result is that ru...
Opengraph URL: https://github.com/github/codeql-action/pull/138
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:506d31e4-dc3f-a12d-c874-429122e82e3f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E8A:3D4E09:1495A8:1B6439:6A558813 |
| html-safe-nonce | e040e9fc5a37b05c1a5f691f58f336a05a4b317cf06b1de48f45fec5cf87eae2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RThBOjNENEUwOToxNDk1QTg6MUI2NDM5OjZBNTU4ODEzIiwidmlzaXRvcl9pZCI6IjUzNTE2Mzg4MDAwMzU4NDIwNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e068b3d42c2b91e6b8c33c181367678f529b7db530fc6aae279c4bf81dc911f3 |
| hovercard-subject-tag | pull_request:464439990 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/github/codeql-action/pull/138/files |
| twitter:image | https://avatars.githubusercontent.com/u/1924993?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1924993?s=400&v=4 |
| og:image:alt | This PR enables setting additional options for the codeql invocations. See main...esbena/additional-codeql-options#diff-fabdc04b7538bbb9cb582f726acf408cR428 as an example. The end result is that ru... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3215163789b3dc58dba97bd78a30c20c949f477f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width