Skip to content

Conversation

@patkenneally
Copy link
Collaborator

Description

This PR separates the main PR workflow from nuget publishing. Forks while preferred, should also be treated as unsafe until verified. A safer approach for accessing secrets when building NuGet packages from fork PRs is to use a separate workflow triggered by workflow run. This allows one to have a CI workflow on the pull_request event (without secrets) for basic build and test, and then a subsequent workflow (with secrets) that can handle package publishing after the initial CI has passed and the code is deemed safe.

Verification

Will be tested against a branch with results visible in github actions reports.

Documentation

None

Future work

None

@patkenneally patkenneally force-pushed the ci/separate-workflow-from-nuget-publishing branch from 7c24c72 to b0305bc Compare December 2, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants