Repository navigation
chore: release 0.3.2 - #477
Merged
Merged
Conversation
## Description Centralizes shared downstream helper recipes in `justfile.gh` so GitHub-oriented and constant recipes are not duplicated in project-level files. The PR moves release and git helpers to a single source, keeps root behavior via import, updates template outputs, and adds focused integration coverage for template recipe exposure. ## Type of Change - [x] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [x] `test` -- Adding or updating tests - [ ] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - `justfile.gh` - Add release helper recipes (`prepare-release`, `finalize-release`, `publish-candidate`, `reset-changelog`, `pull`) - Move shared git helpers (`log`, `branch`) into the same canonical GitHub/helper file - Use `gh_repo` variable with `TEST_REGISTRY` override and restore `TLS_FLAG` handling for `pull` - `justfile` - Remove duplicate release recipe definitions now sourced via `import 'justfile.gh'` - `assets/workspace/.devcontainer/justfile.gh` - Sync transformed downstream template output from updated `justfile.gh` - `assets/workspace/justfile.project` - Remove constant git helper recipes so project file keeps project-specific content - `tests/test_integration.py` - Rename outdated `test_just_pytest` to `test_just_test_recipe` - Add focused assertions that template `justfile.gh` contains release helpers and expected workflow dispatch fragments - `CHANGELOG.md` and `assets/workspace/.devcontainer/CHANGELOG.md` - Add Unreleased entry for issue #373 - `README.md`, `CONTRIBUTE.md` - Regenerated by pre-commit `generate-docs` hook ## Changelog Entry ### Changed - **Downstream release helper recipes via GitHub justfile import** ([#373](#373)) - Move `prepare-release`, `finalize-release`, `publish-candidate`, `reset-changelog`, and `pull` into `justfile.gh` so downstream workspace templates expose them by default - Keep root recipe availability through `import 'justfile.gh'` while consolidating release helper ownership in the GitHub-focused recipe file ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes `just test` was not run for the full suite in this branch context; targeted verification executed: - `uv run pytest tests/test_integration.py -k TestJustRecipes` - `just --list` in `assets/workspace` to verify `[git]` and `[release]` recipe groups are exposed Refs: #373
## Description Fixes the devcontainer bug where `git commit` without `-m` can fail if a host-provided `core.editor` is unavailable inside the container. The setup script now applies a safe fallback editor only when needed, and regression coverage validates the behavior. ## Type of Change - [x] `fix` -- Bug fix - [ ] `feat` -- New feature - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [ ] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - `assets/workspace/.devcontainer/scripts/setup-git-conf.sh` - Add editor fallback guard that checks configured/effective Git editor availability - Set `git config --global core.editor nano` only when the editor is missing/invalid in-container - `tests/test_integration.py` - Add regression test `test_setup_git_conf_falls_back_to_nano_for_invalid_editor` - Reproduce invalid editor config in `.devcontainer/.conf/.gitconfig`, rerun setup script, assert fallback to `nano` - `CHANGELOG.md` - Add Unreleased/Fixed entry for issue `#383` - `assets/workspace/.devcontainer/CHANGELOG.md` - Sync mirrored changelog entry for the workspace template ## Changelog Entry ### Fixed - **Git commit now falls back to nano when editor config is unusable** ([#383](#383)) - `setup-git-conf.sh` now validates the effective Git editor and sets `core.editor=nano` only when the configured editor is missing or invalid in-container - Add integration regression coverage to ensure invalid editor settings are corrected during setup ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes - TDD commit sequence used: - `test(setup): add regression for invalid git editor fallback` - `fix(setup): add git core.editor fallback for container shells` - `docs(image): record git editor fallback fix in changelog` - Verification commands executed: - `just build` - `uv run pytest tests/test_integration.py -k test_setup_git_conf_falls_back_to_nano_for_invalid_editor -v --tb=short` Refs: #383
## Description Syncs `main` into `dev` after the **0.3.1** release: brings release workflow fixes, smoke-test orchestration, `vig-utils` (`retry`, `prepare-changelog unprepare`, `validate-commit-msg` updates), image/tooling changes, synced docs, and finalizes the **0.3.1** changelog headers (link + date). Resolves merge conflicts from the sync. Keeps **`## Unreleased`** entries that only existed on `dev` (#373, #383). ## Type of Change - [ ] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [x] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - **Merge:** `main` → `chore/sync-main-to-dev` (merge commit `926963a`), including release **0.3.1** history through merge of `release/0.3.1`. - **Follow-up:** `docs: set 0.3.1 release link and date` in root and workspace `CHANGELOG.md` (`7acaab4`). - **High-level areas** (from `git diff --stat origin/dev...HEAD`): upstream and workspace GitHub workflows (release, prepare-release, CI, sync, smoke-test templates), `Containerfile` / `init-workspace.sh`, `packages/vig-utils` (retry CLI, prepare_changelog unprepare, validate_commit_msg, tests), `scripts/manifest.toml`, BATS and pytest updates, `docs/issues/` and `docs/pull-requests/` sync artifacts, dependency pins (`package.json` / lockfile). ## Changelog Entry The **0.3.1** shipped changes are already under `## [0.3.1](...) - 2026-03-26` in `CHANGELOG.md` and the workspace copy; this PR does not duplicate them in **Unreleased**. ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A — branch merge and conflict resolution; full `just test` not run in this session. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes Merge-conflict resolutions (earlier on this branch): combined **Unreleased** with **0.3.1** sections in CHANGELOGs; took newer **sync-issues** snapshots from `main` where appropriate; kept **PR #342** doc state from `dev` where it was newer (merged release PR). Refs: #455, #459
… draft release API claim Refs: #463
## Description Implements issue #463: downstream `promote-release.yml` workspace template paired with root `promote-release`, optional `create-release` for candidate runs (wired through smoke-test dispatch and `just publish-candidate`), best-effort GHCR and git RC cleanup in root `promote-release.yml` after merge, documentation updates (`RELEASE_CYCLE`, `DOWNSTREAM_RELEASE`, `CROSS_REPO_RELEASE_GATE`), and removal of the dead downstream RC gate from upstream `release.yml` (final verification lives in `promote-release`). Adds BATS/integration coverage for promote-release and `create-release`. Stale RC and `sha256-*`-only package versions are pruned only via the promote workflow (org Packages API); there is no checked-in manual prune script. ## Type of Change - [ ] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - `.github/workflows/promote-release.yml` — cleanup job: GHCR RC + `sha256-*`-only orphans (paginated listing merged with `jq -s 'add // []'`), remote git RC tags without a GitHub Release; continues on error. - `.github/workflows/release.yml` — trim validate job; remove dead downstream RC gate steps. - `assets/workspace/.github/workflows/promote-release.yml` — new downstream template (validate, publish, merge, best-effort git RC cleanup). - `assets/workspace/.github/workflows/release.yml` / `release-publish.yml` — `create-release` input and conditional draft pre-release for candidates. - `assets/smoke-test/.github/workflows/repository-dispatch.yml` — pass `create-release=true` for downstream candidate dispatch. - `justfile.gh`, `assets/workspace/.devcontainer/justfile.gh` — forward `create-release`; GitHub recipe import pattern. - `scripts/manifest.toml` — manifest updates for workspace assets where applicable. - `CHANGELOG.md` (synced to `assets/workspace/.devcontainer/CHANGELOG.md`) — Unreleased entries (#463 and related unreleased items). - `docs/RELEASE_CYCLE.md`, `docs/DOWNSTREAM_RELEASE.md`, `docs/CROSS_REPO_RELEASE_GATE.md` — release flow and permissions. - `README.md`, `CONTRIBUTE.md` — minor doc sync. - `tests/bats/just.bats`, `tests/test_integration.py` — promote-release / `create-release` assertions. ## Changelog Entry ```markdown ## Unreleased ### Added - **Downstream `promote-release.yml` workspace template** ([#463](#463)) - Add `assets/workspace/.github/workflows/promote-release.yml` as the counter-party to root `promote-release.yml`: validate draft release and release PR, publish the release, merge to `main`, best-effort git RC tag cleanup (no GHCR/cosign/smoke-test gate) - Document in `docs/DOWNSTREAM_RELEASE.md` and align `docs/RELEASE_CYCLE.md` Phase 5 for consumer vs upstream paths - **Optional draft pre-release for downstream release candidates** ([#463](#463)) - Workspace `release.yml` adds `create-release` (`workflow_dispatch`, default `false`); `release-publish.yml` creates a draft GitHub pre-release only when set for `candidate` runs - Smoke-test `repository-dispatch.yml` passes `create-release=true` when triggering downstream `release.yml` - `just publish-candidate` forwards `create-release` in `justfile.gh` and the workspace template copy ### Changed - **RELEASE_APP permissions and GHCR cleanup token model** ([#463](#463)) - Document Packages read/write on the org for `promote-release` cleanup, align the app table in `docs/RELEASE_CYCLE.md`, and explain why cleanup uses the GitHub App token instead of `GITHUB_TOKEN` - **Promote-release cleans up stale RC artifacts after merge** ([#463](#463)) - Best-effort job deletes GHCR package versions for `${VERSION}-rc*` and `sha256-*`-only orphans, and deletes remote git RC tags for that base version when no GitHub Release exists; does not fail the workflow on error - **Downstream release helper recipes via GitHub justfile import** ([#373](#373)) - Move `prepare-release`, `finalize-release`, `publish-candidate`, and `reset-changelog` into `justfile.gh` so downstream workspace templates expose these release helpers by default - Keep root recipe availability (including `pull`) through `import 'justfile.gh'` while consolidating release helper ownership in the GitHub-focused recipe file; the workspace template copy omits the `pull` recipe - **Split final release into publish and promote phases** ([#456](#456)) - Final `release.yml` publishes versioned GHCR tags and a draft GitHub Release but no longer updates `:latest` - New `promote-release.yml` runs after downstream smoke-test publishes its final release: updates `:latest`, publishes the draft release, merges the release PR to `main` - Add `just promote-release` in `justfile.gh` (and workspace template copy) - **Smoke-test dispatch fails fast when deploy PR checks fail** ([#381](#381)) - `wait-deploy-merge` in `assets/smoke-test/.github/workflows/repository-dispatch.yml` exits as soon as all required checks have completed with failures instead of waiting for the merge poll timeout (`gh pr checks --required`) ### Deprecated ### Removed - **One-time GHCR/git RC prune script** ([#463](#463)) - Remove `scripts/prune-ghcr-tags.sh`; RC and `sha256-*` orphan cleanup remains in root `promote-release.yml` - **Downstream RC pre-release gate from release validate job** ([#463](#463)) - Removed dead `if: false` steps from `release.yml`; downstream final release is verified only in `promote-release.yml` before promote ### Fixed - **Git commit now falls back to nano when editor config is unusable** ([#383](#383)) - `setup-git-conf.sh` now validates the effective Git editor and sets `core.editor=nano` only when the configured editor is missing or invalid in-container - Add integration regression coverage to ensure invalid editor settings are corrected during setup - **Release finalize no longer races sync-issues; CHANGELOG TBD verified after reset** ([#455](#455)) - Run `sync-issues` after capturing finalize SHA so downstream build/publish use the finalized commit - Fail finalize if `CHANGELOG.md` still contains `## [version] - TBD` after `git reset --hard` - **generate-docs pre-commit runs when CHANGELOG.md changes** ([#455](#455)) - Keeps README "Latest Version" and other generated docs aligned with the changelog - **prepare-release tolerates GitHub API ref propagation and reliable CHANGELOG rollback** ([#453](#453)) - Poll until the new release branch ref resolves before `commit-action` commits to it - Fetch dev `CHANGELOG.md` by resolved commit SHA during rollback so Contents API staleness does not skip the rollback commit - **sync-main-to-dev sync job no longer depends on dev's setup-env** ([#459](#459)) - Inline the same `retry` shell helper used by `setup-env` so the job works when `main`'s workflow expects helpers not yet on `dev` ### Security ``` ## Testing - [x] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A (CI and release behavior validated via automated tests; no manual workflow runs in this session). ## Checklist - [ ] My code follows the project's style guidelines - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [ ] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes N/A Refs: #463
- Hard-fail scan-latest when GHCR image pull fails so missed scans are surfaced to watchers instead of silently passing. - Fix jq filter `.[0].number` returning literal "null" on empty results, which skipped issue creation on first gate failure; use `// empty`. Refs: #461
## Description Adds a nightly CI schedule on `dev` so the full pipeline (build, tests, Python security, Trivy) runs without waiting for a PR. Reworks the scheduled security workflow to run nightly, pull `ghcr.io/vig-os/devcontainer:latest` (no rebuild), run Trivy/SBOM/SARIF with category `container-image-latest`, and fail the workflow when fixable HIGH/CRITICAL findings remain after `.trivyignore`, with a deduplicated GitHub issue on failure. PR and `workflow_dispatch` behavior for CI is unchanged aside from scheduled checkout ref handling. ## Type of Change - [ ] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - `.github/workflows/ci.yml` - Add `schedule` cron at 04:00 UTC; on `schedule`, checkout `ref: dev` across jobs. - Emit `vcs_ref` from the checked-out commit and pass it to `build-image` as `vcs-ref` so the image metadata matches the scheduled tree. - `.github/workflows/security-scan.yml` - Replace weekly `dev` rebuild + scan with nightly `scan-latest`: pull GHCR `:latest`, Trivy table (awareness), gated scan on fixable HIGH/CRITICAL, SBOM + SARIF upload, step summary, optional `gh issue create` when the gate fails, distinct SARIF category `container-image-latest`. - `CHANGELOG.md` and `assets/workspace/.devcontainer/CHANGELOG.md` - Document nightly CI, scheduled scan behavior, and security gate under Unreleased. ## Changelog Entry ```diff @@ -32,6 +32,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `just promote-release` in `justfile.gh` (and workspace template copy) - **Smoke-test dispatch fails fast when deploy PR checks fail** ([#381](#381)) - `wait-deploy-merge` in `assets/smoke-test/.github/workflows/repository-dispatch.yml` exits as soon as all required checks have completed with failures instead of waiting for the merge poll timeout (`gh pr checks --required`) +- **Nightly CI schedule** ([#461](#461)) + - `ci.yml` adds a `schedule` trigger at 04:00 UTC that checks out `dev` and runs all test suites; checkout `ref` and `vcs-ref` are resolved correctly for scheduled runs +- **Scheduled security scan pulls GHCR `:latest` instead of rebuilding** ([#461](#461)) + - Runs nightly at 05:00 UTC, pulls the published image, gates on fixable HIGH/CRITICAL vulnerabilities, auto-creates a deduplicated GitHub issue on failure, and uploads SARIF under `container-image-latest` ### Deprecated @@ -60,6 +64,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security +- **Nightly vulnerability gate for published container image** ([#461](#461)) + - Scheduled security scan now fails on fixable HIGH/CRITICAL CVEs and auto-files a GitHub issue, replacing the previous non-blocking weekly scan + ## [0.3.1](https://github.com/vig-os/devcontainer/releases/tag/0.3.1) - 2026-03-26 ``` ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details `just test-bats` was run successfully before the workflow commits (shell/just coverage). Full `just test` (image + integration) was not run for this PR. ## Checklist - [ ] My code follows the project's style guidelines - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [ ] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes N/A Refs: #461
Bumps the actions-minor-patch group with 2 updates: [github/codeql-action](https://github.com/github/codeql-action) and [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer). Updates `github/codeql-action` from 4.34.1 to 4.35.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@3869755...c10b806) Updates `sigstore/cosign-installer` from 4.1.0 to 4.1.1 - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](sigstore/cosign-installer@ba7bc0a...cad07c2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.35.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-patch - dependency-name: sigstore/cosign-installer dependency-version: 4.1.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-patch ... Signed-off-by: dependabot[bot] <[email protected]>
- Add optional dockerhub-username/dockerhub-token inputs to build-image action - Login to docker.io before setup-buildx-action when credentials are provided - Pass DOCKERHUB_USERNAME and DOCKERHUB_TOKEN secrets in ci.yml and release.yml - Forks without secrets retain anonymous-pull behavior Refs: #473
## Description Fix Docker Hub rate-limit failures on shared GitHub Actions runners. The `docker/setup-buildx-action` step pulls `moby/buildkit` from Docker Hub; anonymous pulls on shared runners hit rate limits, causing intermittent CI failures. This PR adds optional Docker Hub authentication to the `build-image` composite action and wires the credentials through `ci.yml` and `release.yml`. ## Type of Change - [ ] `feat` -- New feature - [x] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - **`.github/actions/build-image/action.yml`** — Added optional `dockerhub-username` and `dockerhub-token` inputs; added a `Login to Docker Hub` step (using `docker/[email protected]`, SHA-pinned) that runs before `setup-buildx-action` when both inputs are provided; added documentation header explaining the Docker Hub auth rationale. - **`.github/workflows/ci.yml`** — Passed `DOCKERHUB_USERNAME` and `DOCKERHUB_TOKEN` secrets to the `build-image` action. - **`.github/workflows/release.yml`** — Same as `ci.yml`. - **`CHANGELOG.md`** / **`assets/workspace/.devcontainer/CHANGELOG.md`** — Added entry under `## Unreleased > ### Fixed`. ## Changelog Entry ### Fixed - **CI container build avoids shared-runner Docker Hub rate limits** ([#473](#473)) - `build-image` logs in to `docker.io` before `setup-buildx-action` when `DOCKERHUB_USERNAME` and `DOCKERHUB_TOKEN` secrets are set; `ci.yml` and `release.yml` pass them - Omitting secrets (e.g. forks) keeps prior anonymous-pull behavior ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A — CI-only change; verified that the action YAML is syntactically valid via `yamllint` (pre-commit) and that `check-action-pins` passes for the new `docker/login-action` SHA pin. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes The new inputs default to empty strings, so forks or repos without `DOCKERHUB_USERNAME` / `DOCKERHUB_TOKEN` secrets simply skip the login step — identical to pre-PR behavior. Refs: #473
…2 updates (#474) Bumps the actions-minor-patch group with 2 updates in the / directory: [github/codeql-action](https://github.com/github/codeql-action) and [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer). Updates `github/codeql-action` from 4.34.1 to 4.35.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/releases">github/codeql-action's releases</a>.</em></p> <blockquote> <h2>v4.35.1</h2> <ul> <li>Fix incorrect minimum required Git version for <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a>: it should have been 2.36.0, not 2.11.0. <a href="https://redirect.github.com/github/codeql-action/pull/3781">#3781</a></li> </ul> <h2>v4.35.0</h2> <ul> <li>Reduced the minimum Git version required for <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a> from 2.38.0 to 2.11.0. <a href="https://redirect.github.com/github/codeql-action/pull/3767">#3767</a></li> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.1">2.25.1</a>. <a href="https://redirect.github.com/github/codeql-action/pull/3773">#3773</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's changelog</a>.</em></p> <blockquote> <h1>CodeQL Action Changelog</h1> <p>See the <a href="https://github.com/github/codeql-action/releases">releases page</a> for the relevant changes to the CodeQL CLI and language packs.</p> <h2>[UNRELEASED]</h2> <ul> <li>The Git version 2.36.0 requirement for improved incremental analysis now only applies to repositories that contain submodules. <a href="https://redirect.github.com/github/codeql-action/pull/3789">#3789</a></li> <li>Python analysis on GHES no longer extracts the standard library, relying instead on models of the standard library. This should result in significantly faster extraction and analysis times, while the effect on alerts should be minimal. <a href="https://redirect.github.com/github/codeql-action/pull/3794">#3794</a></li> </ul> <h2>4.35.1 - 27 Mar 2026</h2> <ul> <li>Fix incorrect minimum required Git version for <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a>: it should have been 2.36.0, not 2.11.0. <a href="https://redirect.github.com/github/codeql-action/pull/3781">#3781</a></li> </ul> <h2>4.35.0 - 27 Mar 2026</h2> <ul> <li>Reduced the minimum Git version required for <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a> from 2.38.0 to 2.11.0. <a href="https://redirect.github.com/github/codeql-action/pull/3767">#3767</a></li> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.1">2.25.1</a>. <a href="https://redirect.github.com/github/codeql-action/pull/3773">#3773</a></li> </ul> <h2>4.34.1 - 20 Mar 2026</h2> <ul> <li>Downgrade default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.3">2.24.3</a> due to issues with a small percentage of Actions and JavaScript analyses. <a href="https://redirect.github.com/github/codeql-action/pull/3762">#3762</a></li> </ul> <h2>4.34.0 - 20 Mar 2026</h2> <ul> <li>Added an experimental change which disables TRAP caching when <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a> is enabled, since improved incremental analysis supersedes TRAP caching. This will improve performance and reduce Actions cache usage. We expect to roll this change out to everyone in March. <a href="https://redirect.github.com/github/codeql-action/pull/3569">#3569</a></li> <li>We are rolling out improved incremental analysis to C/C++ analyses that use build mode <code>none</code>. We expect this rollout to be complete by the end of April 2026. <a href="https://redirect.github.com/github/codeql-action/pull/3584">#3584</a></li> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.0">2.25.0</a>. <a href="https://redirect.github.com/github/codeql-action/pull/3585">#3585</a></li> </ul> <h2>4.33.0 - 16 Mar 2026</h2> <ul> <li> <p>Upcoming change: Starting April 2026, the CodeQL Action will skip collecting file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses. Pull request analyses will log a warning about this upcoming change. <a href="https://redirect.github.com/github/codeql-action/pull/3562">#3562</a></p> <p>To opt out of this change:</p> <ul> <li><strong>Repositories owned by an organization:</strong> Create a custom repository property with the name <code>github-codeql-file-coverage-on-prs</code> and the type "True/false", then set this property to <code>true</code> in the repository's settings. For more information, see <a href="https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization">Managing custom properties for repositories in your organization</a>. Alternatively, if you are using an advanced setup workflow, you can set the <code>CODEQL_ACTION_FILE_COVERAGE_ON_PRS</code> environment variable to <code>true</code> in your workflow.</li> <li><strong>User-owned repositories using default setup:</strong> Switch to an advanced setup workflow and set the <code>CODEQL_ACTION_FILE_COVERAGE_ON_PRS</code> environment variable to <code>true</code> in your workflow.</li> <li><strong>User-owned repositories using advanced setup:</strong> Set the <code>CODEQL_ACTION_FILE_COVERAGE_ON_PRS</code> environment variable to <code>true</code> in your workflow.</li> </ul> </li> <li> <p>Fixed <a href="https://redirect.github.com/github/codeql-action/issues/3555">a bug</a> which caused the CodeQL Action to fail loading repository properties if a "Multi select" repository property was configured for the repository. <a href="https://redirect.github.com/github/codeql-action/pull/3557">#3557</a></p> </li> <li> <p>The CodeQL Action now loads <a href="https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization">custom repository properties</a> on GitHub Enterprise Server, enabling the customization of features such as <code>github-codeql-disable-overlay</code> that was previously only available on GitHub.com. <a href="https://redirect.github.com/github/codeql-action/pull/3559">#3559</a></p> </li> <li> <p>Once <a href="https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-private-registries">private package registries</a> can be configured with OIDC-based authentication for organizations, the CodeQL Action will now be able to accept such configurations. <a href="https://redirect.github.com/github/codeql-action/pull/3563">#3563</a></p> </li> <li> <p>Fixed the retry mechanism for database uploads. Previously this would fail with the error "Response body object should not be disturbed or locked". <a href="https://redirect.github.com/github/codeql-action/pull/3564">#3564</a></p> </li> <li> <p>A warning is now emitted if the CodeQL Action detects a repository property whose name suggests that it relates to the CodeQL Action, but which is not one of the properties recognised by the current version of the CodeQL Action. <a href="https://redirect.github.com/github/codeql-action/pull/3570">#3570</a></p> </li> </ul> <h2>4.32.6 - 05 Mar 2026</h2> <ul> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.3">2.24.3</a>. <a href="https://redirect.github.com/github/codeql-action/pull/3548">#3548</a></li> </ul> <h2>4.32.5 - 02 Mar 2026</h2> <ul> <li>Repositories owned by an organization can now set up the <code>github-codeql-disable-overlay</code> custom repository property to disable <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis for CodeQL</a>. First, create a custom repository property with the name <code>github-codeql-disable-overlay</code> and the type "True/false" in the organization's settings. Then in the repository's settings, set this property to <code>true</code> to disable improved incremental analysis. For more information, see <a href="https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization">Managing custom properties for repositories in your organization</a>. This feature is not yet available on GitHub Enterprise Server. <a href="https://redirect.github.com/github/codeql-action/pull/3507">#3507</a></li> <li>Added an experimental change so that when <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a> fails on a runner — potentially due to insufficient disk space — the failure is recorded in the Actions cache so that subsequent runs will automatically skip improved incremental analysis until something changes (e.g. a larger runner is provisioned or a new CodeQL version is released). We expect to roll this change out to everyone in March. <a href="https://redirect.github.com/github/codeql-action/pull/3487">#3487</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/github/codeql-action/commit/c10b8064de6f491fea524254123dbe5e09572f13"><code>c10b806</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/3782">#3782</a> from github/update-v4.35.1-d6d1743b8</li> <li><a href="https://github.com/github/codeql-action/commit/c5ffd0683786820677d054e3505e1c5bb4b8c227"><code>c5ffd06</code></a> Update changelog for v4.35.1</li> <li><a href="https://github.com/github/codeql-action/commit/d6d1743b8ec7ecd94f78ad1ce4cb3d8d2ba58001"><code>d6d1743</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/3781">#3781</a> from github/henrymercer/update-git-minimum-version</li> <li><a href="https://github.com/github/codeql-action/commit/65d2efa7333ad65f97cc54be40f4cd18630f884c"><code>65d2efa</code></a> Add changelog note</li> <li><a href="https://github.com/github/codeql-action/commit/2437b20ab31021229573a66717323dd5c6ce9319"><code>2437b20</code></a> Update minimum git version for overlay to 2.36.0</li> <li><a href="https://github.com/github/codeql-action/commit/ea5f71947c021286c99f61cc426a10d715fe4434"><code>ea5f719</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/3775">#3775</a> from github/dependabot/npm_and_yarn/node-forge-1.4.0</li> <li><a href="https://github.com/github/codeql-action/commit/45ceeea896ba2293e10982f871198d1950ee13d6"><code>45ceeea</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/3777">#3777</a> from github/mergeback/v4.35.0-to-main-b8bb9f28</li> <li><a href="https://github.com/github/codeql-action/commit/24448c98434f429f901d27db7ddae55eec5cc1c4"><code>24448c9</code></a> Rebuild</li> <li><a href="https://github.com/github/codeql-action/commit/7c510606312e5c68ac8b27c009e5254f226f5dfa"><code>7c51060</code></a> Update changelog and version after v4.35.0</li> <li><a href="https://github.com/github/codeql-action/commit/b8bb9f28b8d3f992092362369c57161b755dea45"><code>b8bb9f2</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/3776">#3776</a> from github/update-v4.35.0-0078ad667</li> <li>Additional commits viewable in <a href="https://github.com/github/codeql-action/compare/38697555549f1db7851b81482ff19f1fa5c4fedc...c10b8064de6f491fea524254123dbe5e09572f13">compare view</a></li> </ul> </details> <br /> Updates `sigstore/cosign-installer` from 4.1.0 to 4.1.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sigstore/cosign-installer/releases">sigstore/cosign-installer's releases</a>.</em></p> <blockquote> <h2>v4.1.1</h2> <h2>What's Changed</h2> <ul> <li>chore: update default cosign-release to v3.0.5 in <a href="https://redirect.github.com/sigstore/cosign-installer/pull/223">sigstore/cosign-installer#223</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/sigstore/cosign-installer/compare/v4.1.0...v4.1.1">https://github.com/sigstore/cosign-installer/compare/v4.1.0...v4.1.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sigstore/cosign-installer/commit/cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003"><code>cad07c2</code></a> chore: update default cosign-release to v3.0.5 (<a href="https://redirect.github.com/sigstore/cosign-installer/issues/223">#223</a>)</li> <li>See full diff in <a href="https://github.com/sigstore/cosign-installer/compare/ba7bc0a3fef59531c69a25acd34668d6d3fe6f22...cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003">compare view</a></li> </ul> </details> <br />
c-vigo
marked this pull request as ready for review
April 2, 2026 12:30
c-vigo
approved these changes
Apr 2, 2026
## Description Merge `dev` into `release/0.3.2` to apply latest Dependabot GitHub Actions SHA pin bumps. ## Type of Change - [x] `chore` -- Maintenance task (deps, config, etc.) ## Changes Made Fast-forward merge of 3 commits from `dev` (PR #474) bumping GitHub Actions SHA pins: - `github/codeql-action` from `4.34.1` to `4.35.1` (ci.yml, codeql.yml, scorecard.yml, security-scan.yml, and workspace templates) - `sigstore/cosign-installer` from `4.1.0` to `4.1.1` (promote-release.yml, release.yml) Plus a changelog entry documenting the batch. ## Changelog Entry ### Changed - **Dependabot dependency update batch** ([#474](#474)) - Bump `github/codeql-action` from `4.34.1` to `4.35.1` - Bump `sigstore/cosign-installer` from `4.1.0` to `4.1.1` ## Testing - [x] No functional changes -- SHA pin updates only - [x] Pre-commit hooks pass locally ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors ## Additional Notes Chore maintenance -- no linked issue. Refs: N/A (chore, no issue)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.3.2
This PR prepares release 0.3.2 for merge to main.
[0.3.2] - TBD
Added
promote-release.ymlworkspace template (#463)assets/workspace/.github/workflows/promote-release.ymlas the counter-party to rootpromote-release.yml: validate draft release and release PR, publish the release, merge tomain, best-effort git RC tag cleanup (no GHCR/cosign/smoke-test gate)docs/DOWNSTREAM_RELEASE.mdand aligndocs/RELEASE_CYCLE.mdPhase 5 for consumer vs upstream pathsrelease.ymladdscreate-release(workflow_dispatch, defaultfalse);release-publish.ymlcreates a draft GitHub pre-release only when set forcandidaterunsrepository-dispatch.ymlpassescreate-release=truewhen triggering downstreamrelease.ymljust publish-candidateforwardscreate-releaseinjustfile.ghand the workspace template copyChanged
promote-releasecleanup, align the app table indocs/RELEASE_CYCLE.md, and explain why cleanup uses the GitHub App token instead ofGITHUB_TOKEN${VERSION}-rc*andsha256-*-only orphans, and deletes remote git RC tags for that base version when no GitHub Release exists; does not fail the workflow on errorprepare-release,finalize-release,publish-candidate, andreset-changelogintojustfile.ghso downstream workspace templates expose these release helpers by defaultpull) throughimport 'justfile.gh'while consolidating release helper ownership in the GitHub-focused recipe file; the workspace template copy omits thepullreciperelease.ymlpublishes versioned GHCR tags and a draft GitHub Release but no longer updates:latestpromote-release.ymlruns after downstream smoke-test publishes its final release: updates:latest, publishes the draft release, merges the release PR tomainjust promote-releaseinjustfile.gh(and workspace template copy)wait-deploy-mergeinassets/smoke-test/.github/workflows/repository-dispatch.ymlexits as soon as all required checks have completed with failures instead of waiting for the merge poll timeout (gh pr checks --required)ci.ymladds ascheduletrigger at 04:00 UTC that checks outdevand runs all test suites; checkoutrefandvcs-refare resolved correctly for scheduled runs:latestinstead of rebuilding (#461)container-image-latestRemoved
scripts/prune-ghcr-tags.sh; RC andsha256-*orphan cleanup remains in rootpromote-release.ymlif: falsesteps fromrelease.yml; downstream final release is verified only inpromote-release.ymlbefore promoteFixed
setup-git-conf.shnow validates the effective Git editor and setscore.editor=nanoonly when the configured editor is missing or invalid in-containersync-issuesafter capturing finalize SHA so downstream build/publish use the finalized commit