Title: Modify `expect-error` input checking to fix errors on main by henrymercer · Pull Request #1190 · github/codeql-action · GitHub
Open Graph Title: Modify `expect-error` input checking to fix errors on main by henrymercer · Pull Request #1190 · github/codeql-action
X Title: Modify `expect-error` input checking to fix errors on main by henrymercer · Pull Request #1190 · github/codeql-action
Description: We're seeing some errors in main from the function that ensures that expect-error is only set to true by the CodeQL Action PR checks, for example this run. There doesn't appear to be enough information in the logs to debug the problem, so I've modified the workflow to dump the contents of the GitHub event, and changed the checking behaviour to instead require the TEST_MODE environment variable to be set to true. This has the benefit of also working in the case that someone clones the Action repo and pushes it up somewhere else without explicitly forking it. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary. Confirm the changelog has been updated if necessary.
Open Graph Description: We're seeing some errors in main from the function that ensures that expect-error is only set to true by the CodeQL Action PR checks, for example this run. There doesn't appear to be enough...
X Description: We're seeing some errors in main from the function that ensures that expect-error is only set to true by the CodeQL Action PR checks, for example this run. There doesn't appear to b...
Opengraph URL: https://github.com/github/codeql-action/pull/1190
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files/:range(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:30c189a8-90f2-fcbb-375d-90e6385cd7a8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC40:B621B:17E3065:219C393:699721E5 |
| html-safe-nonce | e7e281822b87329596ae5cb90e2598ddfae9055a6ae9a78d406dbc83dbfe777c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzQwOkI2MjFCOjE3RTMwNjU6MjE5QzM5Mzo2OTk3MjFFNSIsInZpc2l0b3JfaWQiOiI4MjY1MTcxMjE1OTczODMxNDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ef8fe0c8dd3141b5c7f77341fd8e2c6dd49c41fdd6a53eb5cc9d7d0572ca3602 |
| hovercard-subject-tag | pull_request:1028871225 |
| 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/1190/files/b21cab99b346de6e70e06d18251c1e16576f2d46 |
| twitter:image | https://avatars.githubusercontent.com/u/14129055?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/14129055?s=400&v=4 |
| og:image:alt | We're seeing some errors in main from the function that ensures that expect-error is only set to true by the CodeQL Action PR checks, for example this run. There doesn't appear to be enough... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7e6af791057690a60ffd9f5bb19a1e7b7637429945357211e6d6d09f15f081ae |
| 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 | e6b01c3dc21c2addba0d96343ac1390c86c8bdfd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width