| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1d10cb69-276d-3faf-a18d-309245c477ca |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B704:1E311A:183733B:230B8CD:6A4CEE1F |
| html-safe-nonce | 09d8907331dcc6e3a98a6850ffd9fc3470a0c4dc50fea969f13cb391c5985dc5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzA0OjFFMzExQToxODM3MzNCOjIzMEI4Q0Q6NkE0Q0VFMUYiLCJ2aXNpdG9yX2lkIjoiMTc5NTk4NDAyODc4OTk2MDIyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | debc8bc4e6dfac2d8424c245ab0d4a9670deded4e7944c16025fc67d91fb5d41 |
| hovercard-subject-tag | pull_request:3332549433 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/3519/files |
| twitter:image | https://avatars.githubusercontent.com/u/278086?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/278086?s=400&v=4 |
| og:image:alt | This modifies the init-post action to upload a failed SARIF as a workflow artifact for risk assessments. This mirrors what we do for Code Scanning, except there we upload the SARIF to the API.
Risk... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8 |
| 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 | efec6750a5afcaeaf5dfcf629f404cf98c8371e3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql-action/pull/3519/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F3519%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F3519%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql-action |
| Reload | https://github.com/github/codeql-action/pull/3519/files |
| Reload | https://github.com/github/codeql-action/pull/3519/files |
| Reload | https://github.com/github/codeql-action/pull/3519/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3519/files |
|
github
| https://github.com/github |
| codeql-action | https://github.com/github/codeql-action |
|
Notifications
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-action |
|
Fork
470
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-action |
|
Star
1.6k
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-action |
|
Code
| https://github.com/github/codeql-action |
|
Issues
156
| https://github.com/github/codeql-action/issues |
|
Pull requests
27
| https://github.com/github/codeql-action/pulls |
|
Actions
| https://github.com/github/codeql-action/actions |
|
Models
| https://github.com/github/codeql-action/models |
|
Security and quality
2
| https://github.com/github/codeql-action/security |
|
Insights
| https://github.com/github/codeql-action/pulse |
|
Code
| https://github.com/github/codeql-action |
|
Issues
| https://github.com/github/codeql-action/issues |
|
Pull requests
| https://github.com/github/codeql-action/pulls |
|
Actions
| https://github.com/github/codeql-action/actions |
|
Models
| https://github.com/github/codeql-action/models |
|
Security and quality
| https://github.com/github/codeql-action/security |
|
Insights
| https://github.com/github/codeql-action/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose |
| mbg | https://github.com/mbg |
| main | https://github.com/github/codeql-action/tree/main |
| mbg/csra/upload-failed-sarif-artifact | https://github.com/github/codeql-action/tree/mbg/csra/upload-failed-sarif-artifact |
|
Conversation
6
| https://github.com/github/codeql-action/pull/3519 |
|
Findings
| https://github.com/github/codeql-action/pull/3519/findings |
|
Commits
15
| https://github.com/github/codeql-action/pull/3519/commits |
|
Checks
244
| https://github.com/github/codeql-action/pull/3519/checks |
|
Files changed
| https://github.com/github/codeql-action/pull/3519/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3519/files |
|
Upload failed SARIF for risk assessments in init-post step
| https://github.com/github/codeql-action/pull/3519/files#top |
|
Show all changes
15 commits
| https://github.com/github/codeql-action/pull/3519/files |
|
0f3e632
Rename secondary `run` to `uploadFailureInfo`
mbg Feb 24, 2026
| https://github.com/github/codeql-action/pull/3519/commits/0f3e6325802cb6fbe08b3ecb70454a8b213107d7 |
|
e9ce32d
Change order of checks in `tryUploadSarifIfRunFailed`
mbg Feb 24, 2026
| https://github.com/github/codeql-action/pull/3519/commits/e9ce32d8078f95509668f449a64c013fd9a4b329 |
|
56d1ccc
Change skipped reason message
mbg Feb 24, 2026
| https://github.com/github/codeql-action/pull/3519/commits/56d1ccc87a4a2034c5daeec44601f197fbaf4bda |
|
60ca40e
Refactor `prepareFailedSarif` out of `maybeUploadFailedSarif`
mbg Feb 26, 2026
| https://github.com/github/codeql-action/pull/3519/commits/60ca40ecd42b75d02a64ba42d42c26b623618b7e |
|
44b66a8
Upload failed SARIF as artifact for risk assessments
mbg Feb 26, 2026
| https://github.com/github/codeql-action/pull/3519/commits/44b66a8064e35661c1ebd700dee861b9149bce02 |
|
f265dd9
Separate `generateFailedSarif` out of `prepareFailedSarif`
mbg Feb 26, 2026
| https://github.com/github/codeql-action/pull/3519/commits/f265dd9392d918a2bd0736228989d389325e9990 |
|
5b9d1f4
Simplify `prepareFailedSarif` for risk assessments
mbg Feb 26, 2026
| https://github.com/github/codeql-action/pull/3519/commits/5b9d1f4fdf979b0eba7338968177a97591ad986d |
|
003044e
Add test
mbg Feb 26, 2026
| https://github.com/github/codeql-action/pull/3519/commits/003044eb8479a316ec1b199f4d30ad5b03be81c2 |
|
ce97dfe
Sanitise artifact name
mbg Feb 26, 2026
| https://github.com/github/codeql-action/pull/3519/commits/ce97dfe40565e250b82eaaabdd757d5545595a58 |
|
ca32b84
Ensure correct failed SARIF file names for CSRA
mbg Feb 26, 2026
| https://github.com/github/codeql-action/pull/3519/commits/ca32b84657b6298bc8df1fbaa1ec003e60649b73 |
|
383b86d
Refactor some test setup code into `mockRiskAssessmentEnv`
mbg Feb 27, 2026
| https://github.com/github/codeql-action/pull/3519/commits/383b86ddcbd007aadb5b5dd9ac58229c6cf87b6d |
|
1e7e52a
Add tests where upload should get skipped
mbg Feb 27, 2026
| https://github.com/github/codeql-action/pull/3519/commits/1e7e52a33006c1f952fe1e2dfbee2630acc88a19 |
|
e995ba3
Add more tests/assertions
mbg Feb 27, 2026
| https://github.com/github/codeql-action/pull/3519/commits/e995ba3522528bd5b5d8f9202c952b25b1d22fa0 |
|
f3663cd
Fix typos in comments
mbg Feb 28, 2026
| https://github.com/github/codeql-action/pull/3519/commits/f3663cdc324659061dee087b0d8d7d7f7c03f20d |
|
746f940
Merge remote-tracking branch 'origin/main' into mbg/csra/upload-faile…
mbg Mar 9, 2026
| https://github.com/github/codeql-action/pull/3519/commits/746f940d10e9cf96d086ea2036b81cef264bd99d |
|
Clear filters
| https://github.com/github/codeql-action/pull/3519/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3519/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3519/files |
|
init-action-post.js
| https://github.com/github/codeql-action/pull/3519/files#diff-08750c194e36e3925a63362bbc1a7207690bd44add665b7c357e9d8b1861a4e6 |
|
config-utils.ts
| https://github.com/github/codeql-action/pull/3519/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa |
|
init-action-post-helper.test.ts
| https://github.com/github/codeql-action/pull/3519/files#diff-62c5bc1fe681a41f34d74ef117f4aa52ae21023a6f78abe2655e635afa48b08a |
|
init-action-post-helper.ts
| https://github.com/github/codeql-action/pull/3519/files#diff-b5d09ae3a926294c25f263fe282f10168d52ee21a08447eade997108a11523bd |
|
init-action-post.ts
| https://github.com/github/codeql-action/pull/3519/files#diff-b20d2e5b98b2b7bb62f615d46b97c30d07e8c1f12e2f263a3a323d5ecf8b5ca6 |
| Please reload this page | https://github.com/github/codeql-action/pull/3519/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3519/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |