-
Notifications
You must be signed in to change notification settings - Fork 24
ci: Add provenance attestation #420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
Signed-off-by: André Silva <[email protected]>
Signed-off-by: André Silva <[email protected]>
…ons adjustments Signed-off-by: André Silva <[email protected]>
2 tasks
26b6882 to
ac28d6a
Compare
…on step Signed-off-by: André Silva <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #420 +/- ##
=======================================
Coverage 85.71% 85.71%
=======================================
Files 39 39
Lines 1603 1603
Branches 171 171
=======================================
Hits 1374 1374
Misses 191 191
Partials 38 38 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
beeme1mr
approved these changes
Apr 9, 2025
lukas-reining
approved these changes
Apr 9, 2025
WeihanLi
pushed a commit
to WeihanLi/openfeature-dotnet-sdk
that referenced
this pull request
May 14, 2025
<!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> ## This PR <!-- add the description of the PR here --> This pull request includes several updates to the GitHub Actions workflows to enhance CI/CD capabilities and improve artifact security. The key changes involve adding new permissions and steps to the workflows for both continuous integration and release processes. Enhancements to CI workflow: * [`.github/workflows/ci.yml`](diffhunk://#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL7-R11): Adjusted the indentation for `paths-ignore` in both `push` and `pull_request` triggers. * [`.github/workflows/ci.yml`](diffhunk://#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR53-R54): Added `id-token` and `attestations` permissions under `jobs`. * [`.github/workflows/ci.yml`](diffhunk://#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR96-R100): Introduced a step to generate artifact attestation using `actions/attest-build-provenance`. Enhancements to release workflow: * [`.github/workflows/release.yml`](diffhunk://#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R33-R36): Added `id-token`, `contents`, and `attestations` permissions under `jobs`. * [`.github/workflows/release.yml`](diffhunk://#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R63-R67): Added a step to generate artifact attestation using `actions/attest-build-provenance`. * [`.github/workflows/release.yml`](diffhunk://#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34L90-R99): Simplified the `run` command for attaching SBOM to the artifact. ### Related Issues <!-- add here the GitHub issue that this PR resolves if applicable --> Fixes open-feature#409 ### Notes The attestation for the PR can be checked here: https://github.com/open-feature/dotnet-sdk/attestations/6175280 --------- Signed-off-by: André Silva <[email protected]> Signed-off-by: Weihan Li <[email protected]>
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.
This PR
This pull request includes several updates to the GitHub Actions workflows to enhance CI/CD capabilities and improve artifact security. The key changes involve adding new permissions and steps to the workflows for both continuous integration and release processes.
Enhancements to CI workflow:
.github/workflows/ci.yml: Adjusted the indentation forpaths-ignorein bothpushandpull_requesttriggers..github/workflows/ci.yml: Addedid-tokenandattestationspermissions underjobs..github/workflows/ci.yml: Introduced a step to generate artifact attestation usingactions/attest-build-provenance.Enhancements to release workflow:
.github/workflows/release.yml: Addedid-token,contents, andattestationspermissions underjobs..github/workflows/release.yml: Added a step to generate artifact attestation usingactions/attest-build-provenance..github/workflows/release.yml: Simplified theruncommand for attaching SBOM to the artifact.Related Issues
Fixes #409
Notes
The attestation for the PR can be checked here: https://github.com/open-feature/dotnet-sdk/attestations/6175280