Support fork pull requests in build workflow
Merged
BR
3mo ago+30+30+01234567890123456789-29-29-01234567890123456789
Motivation
Fork pull requests cannot obtain the OIDC credentials needed to authenticate with NuGet.org, causing otherwise valid build runs to fail.
Modifications
- Run NuGet OIDC login only for release-tag builds, where package publishing can occur.
- Update GitHub Actions and CodeQL references to their latest stable major versions.
Results
- Fork pull requests build, test, pack, and upload artifacts without attempting NuGet authentication.