Skip to content

Commit 8909387

Browse files
CopiloteNeRGy164
andcommitted
Add build attestation to CI pipeline
Co-authored-by: eNeRGy164 <10671831+eNeRGy164@users.noreply.github.com>
1 parent c54ed36 commit 8909387

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/continuous.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
ubuntu-latest:
1515
name: ubuntu-latest
1616
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
id-token: write
20+
attestations: write
1721
steps:
1822
- uses: actions/checkout@v4
1923
with:
@@ -32,6 +36,10 @@ jobs:
3236
NuGetApiKey: ${{ secrets.NUGET_API_KEY }}
3337
- name: Report Coveralls
3438
uses: coverallsapp/github-action@v2
39+
- name: 'Attest: Build Provenance'
40+
uses: actions/attest-build-provenance@v1
41+
with:
42+
subject-path: 'Artifacts/*.nupkg,Artifacts/*.snupkg'
3543
- name: 'Publish: Artifacts'
3644
uses: actions/upload-artifact@v4
3745
with:

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ To use **DendroDocs.Shared** in your project, install it as a NuGet package:
2323
dotnet add package DendroDocs.Shared
2424
```
2525

26+
## Security & Build Attestation
27+
28+
This library includes build attestation through GitHub's attest-build-provenance action, providing cryptographic proof of the build process and artifact integrity. Each published package includes verifiable provenance information that demonstrates:
29+
30+
* The exact repository and commit that built the artifacts
31+
* The GitHub Actions workflow that produced the packages
32+
* Cryptographic signatures ensuring artifact authenticity
33+
34+
This ensures that the packages you install have not been tampered with and came from the official DendroDocs build pipeline.
35+
2636
## Example usage
2737

2838
```csharp

0 commit comments

Comments
 (0)