Title: Util for optional/required inputs by marcogario · Pull Request #208 · github/codeql-action · GitHub
Open Graph Title: Util for optional/required inputs by marcogario · Pull Request #208 · github/codeql-action
X Title: Util for optional/required inputs by marcogario · Pull Request #208 · github/codeql-action
Description: Add two utilities to obtain inputs from the action: getOptionalInput and getRequiredInput. These achieve two things. First, we have a more consistent use of undefined when optional inputs are not provided. Second, we provide a better semantic characterization of which inputs are optional or required (ensuring that we do throw if required inputs are not given). The changes mostly affect the action and not the runner (that already has a similar semantics). Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.
Open Graph Description: Add two utilities to obtain inputs from the action: getOptionalInput and getRequiredInput. These achieve two things. First, we have a more consistent use of undefined when optional inputs are not p...
X Description: Add two utilities to obtain inputs from the action: getOptionalInput and getRequiredInput. These achieve two things. First, we have a more consistent use of undefined when optional inputs are not p...
Opengraph URL: https://github.com/github/codeql-action/pull/208
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e0d79050-77e5-3e7b-78b9-b9209a26851c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EA56:13AFBF:ECCF3B:158BF66:6A579AC5 |
| html-safe-nonce | fce288da6c3216e11c497318b629acb21ef8663050da291610a59595fb342072 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTU2OjEzQUZCRjpFQ0NGM0I6MTU4QkY2Njo2QTU3OUFDNSIsInZpc2l0b3JfaWQiOiI0ODgyNTE4MjA5Njk2NjAyODIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c2798d7f58a24eb775613c642b22c08c36f681d0c5699b1d36c984d578d07d3f |
| hovercard-subject-tag | pull_request:487274688 |
| 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/208/files |
| twitter:image | https://avatars.githubusercontent.com/u/1058447?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1058447?s=400&v=4 |
| og:image:alt | Add two utilities to obtain inputs from the action: getOptionalInput and getRequiredInput. These achieve two things. First, we have a more consistent use of undefined when optional inputs are not p... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 017a07c29bdd8a37b5907fc9a689338deb7103b5af7f56714193b2700229b3df |
| 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 | 0dd6847d644323df8f8c1368c065f9f630095e3b |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width