Title: Enable configuration to fail CI if new alerts are introduced · Issue #598 · github/codeql-action · GitHub
Open Graph Title: Enable configuration to fail CI if new alerts are introduced · Issue #598 · github/codeql-action
X Title: Enable configuration to fail CI if new alerts are introduced · Issue #598 · github/codeql-action
Description: We are currently trying to migrate from LGTM to codeql-action due to limitations in LGTM's infrastructure. With LGTM, we could set it return a failing check any time new analysis alerts were introduced in an PR. This would allow us to pr...
Open Graph Description: We are currently trying to migrate from LGTM to codeql-action due to limitations in LGTM's infrastructure. With LGTM, we could set it return a failing check any time new analysis alerts were introd...
X Description: We are currently trying to migrate from LGTM to codeql-action due to limitations in LGTM's infrastructure. With LGTM, we could set it return a failing check any time new analysis alerts were in...
Opengraph URL: https://github.com/github/codeql-action/issues/598
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable configuration to fail CI if new alerts are introduced","articleBody":"We are currently trying to migrate from LGTM to `codeql-action` due to [limitations in LGTM's infrastructure](https://github.community/t/lgtm-extraction-failure-for-c-asp-net-5-0-application/185834). \r\n\r\nWith LGTM, we could set it return a failing check any time new analysis alerts were introduced in an PR. This would allow us to prevent merging a PR if it introduced new alerts.\r\n\r\nWe set up the default GitHub Actions for `codeql-action` and it ran and found 6 alerts in our test suite, but the build did not put up a failing check that would have prevented merging.\r\n\r\nThis is our first PR that adds `codeql-action`, so perhaps this needs to be merged first so that future PRs have something to be compared against? We are hesitant to merge without knowing there is a way to configure the action to fail when new alerts are introduced.\r\n\r\n- PR: https://github.com/sillsdev/TheCombine/pull/1198\r\n- Scanning results: https://github.com/sillsdev/TheCombine/pull/1198/checks?check_run_id=2914899948\r\n- Alerts for PR: https://github.com/sillsdev/TheCombine/security/code-scanning?query=ref%3Arefs%2Fpull%2F1198%2Fmerge+tool%3ACodeQL","author":{"url":"https://github.com/johnthagen","@type":"Person","name":"johnthagen"},"datePublished":"2021-06-25T16:31:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/598/codeql-action/issues/598"}
| 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:f540fc9c-1b57-a70a-7845-8768d632b57f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A03C:1E3BF:136F714:1A4107A:6A545902 |
| html-safe-nonce | 7a84432048efdca68d00f99b1b4b546141ec4c2c87148f45ffec246072875190 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDNDOjFFM0JGOjEzNkY3MTQ6MUE0MTA3QTo2QTU0NTkwMiIsInZpc2l0b3JfaWQiOiI2MjI4Nzk3MDg4OTc0Nzg4ODY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e8f9f34a5348ff4124d0415002057853b528ba439c1b2579100f270f35c8cd87 |
| hovercard-subject-tag | issue:930329212 |
| 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/598/issue_layout |
| twitter:image | https://opengraph.githubassets.com/157076812e989bf377be3f7461824629245ba5132facd26de347246d35085c1a/github/codeql-action/issues/598 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/157076812e989bf377be3f7461824629245ba5132facd26de347246d35085c1a/github/codeql-action/issues/598 |
| og:image:alt | We are currently trying to migrate from LGTM to codeql-action due to limitations in LGTM's infrastructure. With LGTM, we could set it return a failing check any time new analysis alerts were introd... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnthagen |
| 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