Skip to content

ci: add SLSA build provenance attestation and OpenSSF Scorecard workflow - #643

Merged
oshai merged 1 commit into
masterfrom
ci/slsa-provenance-scorecard
Nov 14, 2026
Merged

oshai merged 1 commit into
masterfrom
ci/slsa-provenance-scorecard

Conversation

@oshai

@oshai oshai commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • SLSA Build Provenance (.github/workflows/cd.yml): Adds an Attest build provenance step using actions/attest@v4 (subject-path: build/libs/*.jar) after Sonatype publication, with job-scoped id-token: write, attestations: write, and artifact-metadata: write permissions so published JARs receive signed Sigstore / SLSA v1.0 provenance attestations verifiable via gh attestation verify.
  • OpenSSF Scorecard (.github/workflows/scorecard.yml): Adds the OpenSSF Scorecard supply-chain security workflow triggered on master pushes, weekly schedule, and branch_protection_rule, with read-only workflow default permissions (permissions: read-all), minimal job-level permissions, and 40-char commit-SHA-pinned actions (actions/checkout, ossf/scorecard-action v2.5.0, actions/upload-artifact, and github/codeql-action/upload-sarif).
  • gradlew.bat Line-Ending Normalization: Runs git add --renormalize gradlew.bat so the Git blob matches .gitattributes (*.bat eol=crlf) after Dependabot PR Bump gradle-wrapper from 8.14.3 to 8.14.7 #642 committed raw CRLF bytes via the GitHub API.

Checklist

  • Verified workflow YAML syntax, action input schemas, and 40-char commit SHAs
  • CI passes across Linux, macOS, and Windows

@oshai
oshai force-pushed the ci/slsa-provenance-scorecard branch from fa91e7f to 2917241 Compare November 14, 2026 13:20
@oshai
oshai merged commit 9be09dd into master Nov 14, 2026
8 checks passed
@oshai
oshai deleted the ci/slsa-provenance-scorecard branch November 14, 2026 13:50
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.

1 participant