Create generator-generic-ossf-slsa3-publish.yml - #333986
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The workflow hashes placeholder artifacts, passes an incorrect output, and relies on retired or mutable actions.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds a GitHub Actions workflow intended to generate and upload SLSA provenance for releases.
Changes:
- Adds release and manual triggers.
- Generates artifact hashes and invokes the reusable SLSA generator.
File summaries
| File | Description |
|---|---|
.github/workflows/generator-generic-ossf-slsa3-publish.yml |
Defines the provenance generation workflow. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 4
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| digests: ${{ steps.hash.outputs.digests }} | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 |
| - name: Build artifacts | ||
| run: | | ||
| # These are some amazing artifacts. | ||
| echo "artifact1" > artifact1 | ||
| echo "artifact2" > artifact2 |
| # List the artifacts the provenance will refer to. | ||
| files=$(ls artifact*) | ||
| # Generate the subjects (base64 encoded). | ||
| echo "hashes=$(sha256sum $files | base64 -w0)" >> "${GITHUB_OUTPUT}" |
| actions: read # To read the workflow path. | ||
| id-token: write # To sign the provenance. | ||
| contents: write # To add assets to a release. | ||
| uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0 |
|
uq3095-rgb please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
1 similar comment
|
uq3095-rgb please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
No description provided.