Repository navigation
Support fork pull requests in build workflow - #151
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
There are workflow correctness/security issues to address (misleading step labeling and overly broad id-token: write permissions in the publish job).
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR adjusts CI workflows so fork pull requests can run successfully without attempting NuGet.org authentication that requires OIDC/secrets, and refreshes workflow dependencies to newer major versions.
Changes:
- Gate NuGet OIDC login to only run on
refs/tags/release/*builds (aligned withGitVersion.ymltag prefix). - Update multiple GitHub Actions references (checkout/setup-dotnet/cache/artifact/pages) to newer major versions.
- Update CodeQL action usage to
github/codeql-action@v4.
File summaries
| File | Description |
|---|---|
| .github/workflows/pages.yml | Bumps Pages workflow action versions (checkout/setup-dotnet/upload-pages-artifact/deploy-pages). |
| .github/workflows/main.yml | Bumps core CI action versions and gates NuGet OIDC login to release-tag builds to support fork PRs. |
| .github/workflows/codeql-analysis.yml | Updates checkout/setup-dotnet and bumps CodeQL actions to v4. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
brantburnett
marked this pull request as ready for review
August 31, 2026 15:23
This was referenced Nov 16, 2026
ogonna-ee
pushed a commit
to DEFRA/waste-organisations
that referenced
this pull request
Nov 16, 2026
Updated [Snappier](https://github.com/brantburnett/Snappier) from 1.3.1 to 1.3.2. <details> <summary>Release notes</summary> _Sourced from [Snappier's releases](https://github.com/brantburnett/Snappier/releases)._ ## 1.3.2 ## What's Changed * Support fork pull requests in build workflow by @brantburnett in brantburnett/Snappier#151 * Build with the .NET 11 SDK and C# 15 by @brantburnett in brantburnett/Snappier#153 * Migrate tests to xunit.v3 4.x on Microsoft Testing Platform v2 by @brantburnett in brantburnett/Snappier#154 * Fix literal overrun validation in Snappy decompression by @brantburnett in brantburnett/Snappier#156 * Enable C# 15 memory safety rules and annotate unsafe code by @brantburnett in brantburnett/Snappier#157 * Keep memory safety rules out of BenchmarkDotNet's generated project by @brantburnett in brantburnett/Snappier#160 * Use unaligned loads and stores in UnalignedCopy64/128 by @brantburnett in brantburnett/Snappier#159 * Move hot-path exception messages into NoInlining throw helpers by @brantburnett in brantburnett/Snappier#158 * Upgrade BenchmarkDotNet to 0.16.0-preview.2 and benchmark .NET 11 by @brantburnett in brantburnett/Snappier#161 * Compare buffer distances instead of forming out-of-range refs by @brantburnett in brantburnett/Snappier#162 * Reject undersized data chunks in framed stream decompression by @brantburnett in brantburnett/Snappier#163 * Use five launches for Default benchmark jobs by @brantburnett in brantburnett/Snappier#164 * Keep rare decompression paths out of the hot loop under Dynamic PGO by @brantburnett in brantburnett/Snappier#165 **Full Changelog**: brantburnett/Snappier@release/1.3.1...release/1.3.2 Commits viewable in [compare view](brantburnett/Snappier@release/1.3.1...release/1.3.2). </details> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ooples
pushed a commit
to ooples/AiDotNet
that referenced
this pull request
Nov 16, 2026
Updated [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 10.1.0 to 10.1.1. <details> <summary>Release notes</summary> _Sourced from [coverlet.collector's releases](https://github.com/coverlet-coverage/coverlet/releases)._ ## 10.1.1 ### Improvements - Add `IsReachable` to branch points, computed from the method's control-flow graph, and exclude unreachable branches from branch-coverage totals and from branch details in Cobertura, LCOV and OpenCover reports [#2056](coverlet-coverage/coverlet#2056) by @pcshrosbree - coverlet.MTP: Narrow Dynamic Exclude Filters for Loaded Assemblies [#2069](coverlet-coverage/coverlet#2069) ### Fixed - Fix Regression Prevent invalid IL from branch trampolines [#2067](coverlet-coverage/coverlet#2067) - Fix Regression coverlet.MTP does not instrument local functions [#2046](coverlet-coverage/coverlet#2046) ## Maintenance - Update NuGet package versions [#2050](coverlet-coverage/coverlet#2050) [Diff between 10.1.0 and 10.1.1](coverlet-coverage/coverlet@v10.1.0...v10.1.1) Commits viewable in [compare view](coverlet-coverage/coverlet@v10.1.0...v10.1.1). </details> Updated [Microsoft.CodeAnalysis.Analyzers](https://github.com/dotnet/roslyn) from 5.9.0 to 5.12.0. <details> <summary>Release notes</summary> _Sourced from [Microsoft.CodeAnalysis.Analyzers's releases](https://github.com/dotnet/roslyn/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/dotnet/roslyn/commits). </details> Updated Microsoft.CodeAnalysis.CSharp from 4.14.0 to 5.12.0. Updated [Snappier](https://github.com/brantburnett/Snappier) from 1.3.1 to 1.3.2. <details> <summary>Release notes</summary> _Sourced from [Snappier's releases](https://github.com/brantburnett/Snappier/releases)._ ## 1.3.2 ## What's Changed * Support fork pull requests in build workflow by @brantburnett in brantburnett/Snappier#151 * Build with the .NET 11 SDK and C# 15 by @brantburnett in brantburnett/Snappier#153 * Migrate tests to xunit.v3 4.x on Microsoft Testing Platform v2 by @brantburnett in brantburnett/Snappier#154 * Fix literal overrun validation in Snappy decompression by @brantburnett in brantburnett/Snappier#156 * Enable C# 15 memory safety rules and annotate unsafe code by @brantburnett in brantburnett/Snappier#157 * Keep memory safety rules out of BenchmarkDotNet's generated project by @brantburnett in brantburnett/Snappier#160 * Use unaligned loads and stores in UnalignedCopy64/128 by @brantburnett in brantburnett/Snappier#159 * Move hot-path exception messages into NoInlining throw helpers by @brantburnett in brantburnett/Snappier#158 * Upgrade BenchmarkDotNet to 0.16.0-preview.2 and benchmark .NET 11 by @brantburnett in brantburnett/Snappier#161 * Compare buffer distances instead of forming out-of-range refs by @brantburnett in brantburnett/Snappier#162 * Reject undersized data chunks in framed stream decompression by @brantburnett in brantburnett/Snappier#163 * Use five launches for Default benchmark jobs by @brantburnett in brantburnett/Snappier#164 * Keep rare decompression paths out of the hot loop under Dynamic PGO by @brantburnett in brantburnett/Snappier#165 **Full Changelog**: brantburnett/Snappier@release/1.3.1...release/1.3.2 Commits viewable in [compare view](brantburnett/Snappier@release/1.3.1...release/1.3.2). </details> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Nov 16, 2026
Open
This was referenced Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Fork pull requests cannot obtain the OIDC credentials needed to authenticate with NuGet.org, causing otherwise valid build runs to fail.
Modifications
Results