Commit graph

10 commits

Author SHA1 Message Date
Snider
a98202797c feat: Harden CI/CD pipeline and fix release process
This commit hardens the CI/CD pipeline and fixes the release process.

- Replaces the manual release process with `goreleaser` to streamline builds and enable artifact signing.
- Pins all GitHub Actions to specific commit hashes to prevent supply chain attacks.
- Enables cryptographic signing of release artifacts using `cosign` and Sigstore's keyless signing.
- Adds a Dependabot configuration to automate dependency updates.
- Removes excessive `contents: write` permissions from workflows.
- Creates an `AUDIT-CICD.md` file to document the audit findings and remediation steps.
- Fixes a build failure by adding a placeholder for a missing demo file.
- Updates the `.goreleaser.yaml` to include WASM and console assets in the release, fixing a regression from the previous release process.
2026-02-02 01:53:34 +00:00
Snider
f8ae4b1ad4 feat: Harden CI/CD pipeline and fix release process
This commit hardens the CI/CD pipeline and fixes the release process.

- Replaces the manual release process with `goreleaser` to streamline builds and enable artifact signing.
- Pins all GitHub Actions to specific commit hashes to prevent supply chain attacks.
- Enables cryptographic signing of release artifacts using `cosign` and Sigstore's keyless signing.
- Adds a Dependabot configuration to automate dependency updates.
- Removes excessive `contents: write` permissions from workflows.
- Creates an `AUDIT-CICD.md` file to document the audit findings and remediation steps.
- Fixes a build failure by adding a placeholder for a missing demo file.
- Updates the `.goreleaser.yaml` to include WASM and console assets in the release, fixing a regression from the previous release process.
2026-02-02 01:33:29 +00:00
google-labs-jules[bot]
b86e0c3e8e feat: Harden CI/CD pipeline security
This commit hardens the CI/CD pipeline by addressing several security
vulnerabilities.

- Replaces the manual release process with `goreleaser` to streamline
  builds and enable artifact signing.
- Pins all GitHub Actions to specific commit hashes to prevent supply
  chain attacks.
- Enables cryptographic signing of release artifacts using `cosign` and
  Sigstore's keyless signing.
- Adds a Dependabot configuration to automate dependency updates.
- Removes excessive `contents: write` permissions from workflows.
- Creates an `AUDIT-CICD.md` file to document the audit findings and
  remediation steps.

Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
2026-02-02 01:24:12 +00:00
Snider
741bbe11e8 feat: Add Borg Console and release workflow 2025-12-27 02:32:31 +00:00
26e2880dde
Add Codecov upload step to GitHub Actions
Added step to upload coverage reports to Codecov.
2025-11-02 22:00:01 +00:00
google-labs-jules[bot]
23c1f13ae2 fix(ci): Update GitHub Actions versions and add permissions
This commit updates the `.github/workflows/mkdocs.yml` file to use the latest versions of the `actions/checkout` and `actions/setup-python` actions.

Key changes:
- Upgraded `actions/checkout` from `v2` to `v4`.
- Upgraded `actions/setup-python` from `v2` to `v5`.
- Pinned the Python version to `'3.11'`.
- Added `permissions: contents: write` to the `deploy` job to ensure the workflow has the necessary permissions to publish to GitHub Pages.
2025-11-02 15:17:48 +00:00
google-labs-jules[bot]
19f6a95964 refactor: Improve code quality, testability, and CI
This commit addresses several issues identified in a code review to improve the overall quality and robustness of the application.

Key changes include:
- Refactored `cmd.Execute()` to return an error instead of calling `os.Exit`, making the application more testable.
- Fixed critical issues in `cmd/main_test.go`, including renaming `TestMain` to avoid conflicts and removing the brittle E2E test.
- Improved the GitHub API client in `pkg/github/github.go` by:
  - Fixing a resource leak where an HTTP response body was not being closed.
  - Restoring a parameterized function to improve testability.
  - Adding support for `context.Context` and API pagination for robustness.
- Updated the `.github/workflows/go.yml` CI workflow to use the `Taskfile.yml` for building and testing, ensuring consistency.
- Added a `test` task to `Taskfile.yml`.
- Ran `go mod tidy` and fixed several unused import errors.
2025-11-02 00:31:15 +00:00
Snider
199acad1bf adds Task to github runner 2025-11-02 00:05:03 +00:00
Snider
adfa1d3d51
Downgrade Go version from 1.25 to 1.24 2025-10-31 21:31:23 +00:00
Snider
e9c4b53399
Update Go workflow to use version 1.25 2025-10-31 21:30:08 +00:00