Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
outputs:
asset_version: ${{ steps.version.outputs.asset_version }}
steps:
Expand All @@ -35,29 +34,15 @@ jobs:
- run: go test ./...
- run: go build ./...
- run: mkdir -p dist
- name: Generate SBOM
uses: anchore/sbom-action@v0
with:
path: .
format: spdx-json
output-file: dist/dbxcli_${{ steps.version.outputs.asset_version }}_sbom.spdx.json
upload-artifact: false
upload-release-assets: false
- run: ./build.sh
env:
VERSION: ${{ github.ref_name }}
- run: ./packaging/package-release.sh
env:
VERSION: ${{ github.ref_name }}
- name: Install Cosign
uses: sigstore/cosign-installer@v4.1.0
- name: Sign checksums
run: cosign sign-blob --yes --bundle dist/SHA256SUMS.sigstore.json dist/SHA256SUMS
- uses: softprops/action-gh-release@v3
with:
files: |
dist/*.tar.gz
dist/*.zip
dist/SHA256SUMS
dist/SHA256SUMS.sigstore.json
dist/*_sbom.spdx.json
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
- Added scheduled/manual OSSF Scorecard scanning without public Scorecard API publishing.
- Replaced standalone Staticcheck workflow steps with a narrow `golangci-lint` configuration.
- Added explicit `go.sum` cache dependency paths for `actions/setup-go`.
- Added SBOM generation and Cosign signatures to release artifacts.
- Added race detector, workflow linting, and CodeQL security scanning to CI.
- Hardened CI workflows with explicit read-only permissions.
- Generate a non-constant OAuth2 `state` value to resolve the CodeQL `go/constant-oauth2-state` alert.
Expand Down
Loading