Skip to content

ci(actions): update github-actions (minor and patch) - #1161

Merged
c-vigo merged 2 commits into
devfrom
renovate/github-actions-(minor-and-patch)
Jul 16, 2026
Merged

c-vigo merged 2 commits into
devfrom
renovate/github-actions-(minor-and-patch)

Conversation

@renovate

@renovate renovate Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
actions/attest action minor v4.1.1 → v4.2.0
vig-os/commit-action action patch v0.3.0 → v0.3.1
vig-os/sync-issues-action action minor v0.2.2 → v0.4.0

Release Notes

actions/attest (actions/attest)

v4.2.0

Compare Source

What's Changed

Full Changelog: actions/attest@v4.1.1...v4.2.0

vig-os/commit-action (vig-os/commit-action)

v0.3.1

Compare Source

Changed
  • Renovate dependency update (#​98)
    • Update cachix/install-nix-action from v31.10.7 to v31.11.0
    • Update vig-os/commit-action from v0.2.0 to v0.3.0
    • Update vig-os/sync-issues-action from v0.2.2 to v0.3.0
Fixed
  • The e2e-smoke and published-tag-smoke verify steps no longer flake on GitHub's read-after-write replication lag. Their "branch head points at the reported commit" assertion read the scratch-branch head via the REST API immediately after the action's updateRef returned, and could observe the stale pre-commit head — the action had committed correctly, but the check reported a mismatch. Both steps now poll the branch head for the reported commit-sha with a bounded retry (up to 5 attempts, 3s apart) before failing, while keeping the hard failure after the budget so a genuine no-op (the #​58 class of bug) is still caught (issue #​96).
vig-os/sync-issues-action (vig-os/sync-issues-action)

v0.4.0

Compare Source

Added
  • User-configurable formatting hook for generated markdown (#​17)
    • New optional format-command input runs a shell command on the synced files after they are written and before outputs are set, so the downstream commit step picks up formatted files
    • Every {files} placeholder is replaced with the shell-quoted modified paths (e.g. npx prettier --write {files}); a failing command fails the action
  • Fetch images and other attachments from issues and PRs (#​2)
    • New optional sync-attachments input (default false) downloads attachments referenced in issue/PR bodies and comments to <output-dir>/attachments/<uuid>.<ext> and rewrites body URLs to relative paths, making the synced tree self-contained offline
    • Works for public and private repositories via the signed URLs GitHub embeds in the API's HTML body rendering; failed downloads keep the original URL and log a warning
    • Downloaded attachments are included in the modified-files output; format-command now only receives markdown files
Changed
  • Renovate: update ubuntu from 22.04 to 24.04 (#​130)
  • Renovate dependency update (#​126)
    • Update @types/node from 25.5.0 to 25.9.5
    • Update @typescript-eslint/eslint-plugin from 8.57.2 to 8.64.0
    • Update @typescript-eslint/parser from 8.57.2 to 8.64.0
    • Update @vercel/ncc from ^0.38.1 to ^0.44.0
    • Update eslint from 10.1.0 to 10.7.0
    • Update globals from 17.4.0 to 17.7.0
    • Update jest from 30.3.0 to 30.4.2
    • Update prettier from 3.8.1 to 3.9.5
    • Update ts-jest from 29.4.6 to 29.4.11
    • Update tsx from 4.21.0 to 4.23.1
    • Update typescript-eslint from 8.57.2 to 8.64.0
Security
  • Pin @github/local-action in the local integration test script (#​122)
    • test-local.sh now installs a fixed version instead of the floating latest, resolving the OpenSSF Scorecard PinnedDependenciesID alert

v0.4

Compare Source

Added
  • User-configurable formatting hook for generated markdown (#​17)
    • New optional format-command input runs a shell command on the synced files after they are written and before outputs are set, so the downstream commit step picks up formatted files
    • Every {files} placeholder is replaced with the shell-quoted modified paths (e.g. npx prettier --write {files}); a failing command fails the action
  • Fetch images and other attachments from issues and PRs (#​2)
    • New optional sync-attachments input (default false) downloads attachments referenced in issue/PR bodies and comments to <output-dir>/attachments/<uuid>.<ext> and rewrites body URLs to relative paths, making the synced tree self-contained offline
    • Works for public and private repositories via the signed URLs GitHub embeds in the API's HTML body rendering; failed downloads keep the original URL and log a warning
    • Downloaded attachments are included in the modified-files output; format-command now only receives markdown files
Changed
  • Renovate: update ubuntu from 22.04 to 24.04 (#​130)
  • Renovate dependency update (#​126)
    • Update @types/node from 25.5.0 to 25.9.5
    • Update @typescript-eslint/eslint-plugin from 8.57.2 to 8.64.0
    • Update @typescript-eslint/parser from 8.57.2 to 8.64.0
    • Update @vercel/ncc from ^0.38.1 to ^0.44.0
    • Update eslint from 10.1.0 to 10.7.0
    • Update globals from 17.4.0 to 17.7.0
    • Update jest from 30.3.0 to 30.4.2
    • Update prettier from 3.8.1 to 3.9.5
    • Update ts-jest from 29.4.6 to 29.4.11
    • Update tsx from 4.21.0 to 4.23.1
    • Update typescript-eslint from 8.57.2 to 8.64.0
Security
  • Pin @github/local-action in the local integration test script (#​122)
    • test-local.sh now installs a fixed version instead of the floating latest, resolving the OpenSSF Scorecard PinnedDependenciesID alert

v0.3.0

Compare Source

Added
  • Sync specific issues/PRs by number or range (#​55)
    • New optional issues-filter and prs-filter inputs accept comma-separated numbers and inclusive ranges (e.g. 1,5,10-20)
    • When set, the action fetches only the requested items directly instead of paginating through all issues or pull requests
Changed
  • Run the action on the Node.js 24 runtime (#​77)

    • action.yml runs.using switched from node20 to node24 ahead of GitHub's June 2026 forced default
    • .nvmrc updated to 24, matching the flake dev-shell (node 24.16) the suite already runs on
  • Adopt vigOS devkit 1.3.0 (direnv mode) (#​106)

    • Replace the bespoke CI/release stack with the devkit scaffold (managed ci/release/promote workflows; native dist prep, tag prefix v, and floating v0/v0.X tags)
    • Nix flake dev-shell (direnv) with flake-generated pre-commit hooks replaces the devcontainer image and scripts/setup-node.sh provisioning
    • Keep the 8-scenario integration-test matrix (new PR-gate and published-tag-smoke callers); re-home provenance attestation in attest-release.yml; add Dist Check and JS Quality gates ported from commit-action
    • Retire the placeholder security-scan.yml, CODEOWNERS, the bespoke changelog/release helper scripts, and Dependabot (Renovate takes over)
  • Adopt vigOS v0.3.5 devcontainer and realign project tooling to Node (#​6)

    • Provision Node via scripts/setup-node.sh and just recipes; run lint, build, and test inside the devcontainer
    • Adapt release workflows and label taxonomy to the standardized vigOS layout
    • Drop Python scaffolding and the legacy setup-env/build-dist composite actions
  • just test runs the full local suite; add just test-unit for unit-only runs

    • just test runs unit tests plus integration when a GitHub token is available; integration is skipped with a warning otherwise
    • just test-unit replaces the previous unit-only just test behavior and accepts Jest filter args
  • Upgrade GitHub Actions toolkit to ESM-only releases (#​6)

    • Adopt @actions/github v9 (Octokit v7) and @actions/core v3 for current toolkit HTTP client and type support
    • Update TypeScript module resolution and Jest module mocks for ESM toolkit packages
  • Stop committing tsc emit under dist/ (#​6)

    • Only dist/index.js and dist/licenses.txt are tracked; verify-dist checks those files only
  • Post-release replaced by PR-based main-to-dev sync (#​52)

    • Remove post-release.yml workflow; add sync-main-to-dev.yml that opens a PR to sync main into dev, satisfying branch protection on both branches
    • Harden sync checks by failing clearly when origin/main or origin/dev is missing instead of silently treating branches as up to date
    • Fix workflow_dispatch hyphenated input access and conflict path robustness (issues: write, safer conflict label handling, clearer manual resolution commands)
    • Reduce duplicate/no-op sync PR risk by re-checking ahead/behind state inside the sync job and tightening existing-sync-PR detection (search + explicit list limit)
    • Split auth into explicit app tokens by responsibility: COMMIT_APP_* for checkout/ref operations and RELEASE_APP_* for PR/label operations requiring broader scopes
    • Generate RELEASE_APP_* only after re-check confirms sync work remains, reducing unnecessary broader-scope token issuance
  • Sync workflow uses commit-scoped app secrets and manual output target

    • Update sync-issues.yml to use COMMIT_APP_ID/COMMIT_APP_PRIVATE_KEY for both checkout token generation and action app auth inputs
    • Respect workflow_dispatch output-dir input in the action call, with 'docs' as the default fallback
  • Bound integration test runtime to a fixed subset (#​56)

    • Integration test workflow and local test scripts now pass issues-filter/prs-filter so only a small, stable set of issues and PRs is synced
    • Keeps test duration bounded as the repository's issue/PR count grows
Fixed
  • Retry transient GitHub 5xx errors and skip failing items during sync (#​96)
    • Add withRetry helper with exponential backoff for 5xx, rate-limit, and network errors
    • Sanitize GitHub "Unicorn!" HTML error pages into concise messages
    • Skip individual issues/PRs that fail persistently instead of aborting the entire sync run
Security
  • Bump bundled undici to 6.27.0 (#​111)

    • Clears the high-severity WebSocket DoS advisory (GHSA-vxpw-j846-p89q) and three related undici advisories flagged by dependency review, plus dev-only @babel/core and js-yaml audit findings
  • Resolve npm audit vulnerabilities (#​6)

    • Upgrade @actions/github to v9 and @actions/core to v3, resolving high-severity undici advisories in the bundled action
    • Apply non-breaking audit fixes for dev/build-only dependencies (handlebars, flatted, picomatch, brace-expansion)

v0.3

Compare Source

Added
  • Sync specific issues/PRs by number or range (#​55)
    • New optional issues-filter and prs-filter inputs accept comma-separated numbers and inclusive ranges (e.g. 1,5,10-20)
    • When set, the action fetches only the requested items directly instead of paginating through all issues or pull requests
Changed
  • Run the action on the Node.js 24 runtime (#​77)

    • action.yml runs.using switched from node20 to node24 ahead of GitHub's June 2026 forced default
    • .nvmrc updated to 24, matching the flake dev-shell (node 24.16) the suite already runs on
  • Adopt vigOS devkit 1.3.0 (direnv mode) (#​106)

    • Replace the bespoke CI/release stack with the devkit scaffold (managed ci/release/promote workflows; native dist prep, tag prefix v, and floating v0/v0.X tags)
    • Nix flake dev-shell (direnv) with flake-generated pre-commit hooks replaces the devcontainer image and scripts/setup-node.sh provisioning
    • Keep the 8-scenario integration-test matrix (new PR-gate and published-tag-smoke callers); re-home provenance attestation in attest-release.yml; add Dist Check and JS Quality gates ported from commit-action
    • Retire the placeholder security-scan.yml, CODEOWNERS, the bespoke changelog/release helper scripts, and Dependabot (Renovate takes over)
  • Adopt vigOS v0.3.5 devcontainer and realign project tooling to Node (#​6)

    • Provision Node via scripts/setup-node.sh and just recipes; run lint, build, and test inside the devcontainer
    • Adapt release workflows and label taxonomy to the standardized vigOS layout
    • Drop Python scaffolding and the legacy setup-env/build-dist composite actions
  • just test runs the full local suite; add just test-unit for unit-only runs

    • just test runs unit tests plus integration when a GitHub token is available; integration is skipped with a warning otherwise
    • just test-unit replaces the previous unit-only just test behavior and accepts Jest filter args
  • Upgrade GitHub Actions toolkit to ESM-only releases (#​6)

    • Adopt @actions/github v9 (Octokit v7) and @actions/core v3 for current toolkit HTTP client and type support
    • Update TypeScript module resolution and Jest module mocks for ESM toolkit packages
  • Stop committing tsc emit under dist/ (#​6)

    • Only dist/index.js and dist/licenses.txt are tracked; verify-dist checks those files only
  • Post-release replaced by PR-based main-to-dev sync (#​52)

    • Remove post-release.yml workflow; add sync-main-to-dev.yml that opens a PR to sync main into dev, satisfying branch protection on both branches
    • Harden sync checks by failing clearly when origin/main or origin/dev is missing instead of silently treating branches as up to date
    • Fix workflow_dispatch hyphenated input access and conflict path robustness (issues: write, safer conflict label handling, clearer manual resolution commands)
    • Reduce duplicate/no-op sync PR risk by re-checking ahead/behind state inside the sync job and tightening existing-sync-PR detection (search + explicit list limit)
    • Split auth into explicit app tokens by responsibility: COMMIT_APP_* for checkout/ref operations and RELEASE_APP_* for PR/label operations requiring broader scopes
    • Generate RELEASE_APP_* only after re-check confirms sync work remains, reducing unnecessary broader-scope token issuance
  • Sync workflow uses commit-scoped app secrets and manual output target

    • Update sync-issues.yml to use COMMIT_APP_ID/COMMIT_APP_PRIVATE_KEY for both checkout token generation and action app auth inputs
    • Respect workflow_dispatch output-dir input in the action call, with 'docs' as the default fallback
  • Bound integration test runtime to a fixed subset (#​56)

    • Integration test workflow and local test scripts now pass issues-filter/prs-filter so only a small, stable set of issues and PRs is synced
    • Keeps test duration bounded as the repository's issue/PR count grows
Fixed
  • Retry transient GitHub 5xx errors and skip failing items during sync (#​96)
    • Add withRetry helper with exponential backoff for 5xx, rate-limit, and network errors
    • Sanitize GitHub "Unicorn!" HTML error pages into concise messages
    • Skip individual issues/PRs that fail persistently instead of aborting the entire sync run
Security
  • Bump bundled undici to 6.27.0 (#​111)

    • Clears the high-severity WebSocket DoS advisory (GHSA-vxpw-j846-p89q) and three related undici advisories flagged by dependency review, plus dev-only @babel/core and js-yaml audit findings
  • Resolve npm audit vulnerabilities (#​6)

    • Upgrade @actions/github to v9 and @actions/core to v3, resolving high-severity undici advisories in the bundled action
    • Apply non-breaking audit fixes for dev/build-only dependencies (handlebars, flatted, picomatch, brace-expansion)

Configuration

📅 Schedule: (in timezone Etc/UTC)

  • Branch creation
    • "before 9am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from c-vigo as a code owner July 16, 2026 19:48
@c-vigo
c-vigo enabled auto-merge July 16, 2026 19:49
@renovate
renovate Bot force-pushed the renovate/github-actions-(minor-and-patch) branch from d931469 to 7889505 Compare July 16, 2026 20:21
@c-vigo
c-vigo merged commit 699e8a5 into dev Jul 16, 2026
13 checks passed
@c-vigo
c-vigo deleted the renovate/github-actions-(minor-and-patch) branch July 16, 2026 20:30
vig-os-release-app Bot added a commit to vig-os/devkit-smoke-test that referenced this pull request Jul 17, 2026
# Release 1.3.1

This PR prepares release 1.3.1 for merge to main.

## [1.3.1] - TBD

### Added

- **Document the first-release manual promote runbook**
([#1151](vig-os/devkit#1151))
- `promote-release.yml` is dispatched via `workflow_dispatch`, which
GitHub
only registers for workflows present on the **default branch** — and the
release-PR merge that puts it there is what promote itself performs, so
a
consumer's *first* promote 404s (chicken-and-egg). `docs/MIGRATION.md`
gains
a "First release after migrating to devkit" section with the end-to-end
manual promote sequence (undraft the Release → merge the release PR → RC
cleanup), a note that the manual path cannot be resumed by the workflow
    once the draft/PR preconditions are consumed, and a pointer to the
    floating-tag handling. Every subsequent release promotes normally.
- **Document the first-release floating-tag ruleset bypass**
([#1152](vig-os/devkit#1152))
- The imported Tag ruleset bypasses only the Release App (Integration) —
right
    for steady state, where `promote-release.yml` moves `<prefix>X` /
`<prefix>X.Y` with the app token — but on a first release the promote
workflow is not dispatchable and no human (not even an admin) can move
the
floating tags (`422 Cannot update this protected ref`), so the release
    publishes with `<prefix>X` stale and `<prefix>X.Y` missing, silently
breaking the `uses: owner/repo@<prefix>X` pin. `docs/MIGRATION.md` gains
a
    "First-release floating tags" subsection: temporarily add a
`RepositoryRole: admin` bypass to the Tag ruleset, move the tags to the
    peeled release commit (the same `move_tag` semantics as
    `promote-release.yml`), then revert the ruleset.

### Changed

- **Smoke-test deploy of 1.3.1** -- automated devcontainer
release-pipeline validation; no functional changes
- **Renovate dependency update**
([#1161](vig-os/devkit#1161))
  - Update `actions/attest` from `v4.1.1` to `v4.2.0`
  - Update `vig-os/commit-action` from `v0.3.0` to `v0.3.1`
  - Update `vig-os/sync-issues-action` from `v0.2.2` to `v0.4.0`
- **Renovate: update `github/codeql-action` from `99df26d` to
`7188fc3`** ([#1160](vig-os/devkit#1160))
- **Release extension seam gains a documented token ceiling**
([#1144](vig-os/devkit#1144))
- The `extension` caller job in the scaffolded `release.yml` now grants
the
`release-extension.yml` seam a ceiling of `contents: read`, `packages:
write`,
`id-token: write`, `attestations: write`. A called reusable workflow can
only
*downgrade* the caller's `GITHUB_TOKEN`, never elevate it, so with no
caller
    grant the seam was capped read-only and write-scoped extensions
(`actions/attest-build-provenance`, GHCR publish) were silently denied.
This
is a ceiling, not a grant: the shipped default no-op stays read-only and
a
consumer opts a job in by declaring the scopes it needs, up to the
ceiling.
Scopes beyond it (e.g. `contents: write`) still belong in a
consumer-owned
    tag-push workflow. Documented in `docs/DOWNSTREAM_RELEASE.md`.

### Fixed

- **Commit only the non-ignored `dist/` on release finalize**
([#1159](vig-os/devkit#1159))
- The finalize step passed the whole `dist` directory to `commit-action`
(`FILE_PATHS: CHANGELOG.md,dist`). `commit-action` walks a directory
path on
    disk and force-adds **every** file it finds — it never consults
    `.gitignore` — so the gitignored tsc/ncc byproducts (`dist/src/**`,
`*.tsbuildinfo`) were re-committed on every final release, re-tracking
them on
`main`, on `dev` (via `sync-main-to-dev`), and in the tag tree, and
making the
sanctioned `git rm --cached` cleanup impossible to persist (it re-bit as
a
release-PR `Dist Check` failure after an ncc/tsc-affecting dep bump).
The
build step now computes the tracked-plus-untracked-but-not-ignored set
with
`git ls-files -co --exclude-standard -- dist` (i.e. `git
add`/`.gitignore`
semantics) and the finalize commit ships only those explicit files, so
the
real bundle (`dist/index.js`, `dist/licenses.txt`) is committed without
the
    gitignored emit.
- **Fail loud with remediation when a first-time floating-tag create is
denied** ([#1157](vig-os/devkit#1157))
  - `promote-release.yml` force-**updates** an existing `<prefix>X` /
`<prefix>X.Y` via `PATCH`, but the first release of a **new** floating
level
must **create** the ref (`POST /git/refs`). When the Tag ruleset
restricts
tag creation and the Release App is not a bypass actor for its
`creation`
    rule, the create is denied as the opaque `Reference does not exist`
(HTTP 422); `retry` then hammered the permanent denial and the job
exited 1
    with no actionable signal — even though publish + merge had already
succeeded, leaving the advertised `@<prefix>X.Y` pin silently missing.
The
move step now guards the create and emits a `::error::` annotation
naming the
    tag, target commit, ruleset root cause, and the one-off remediation
(`docs/MIGRATION.md#first-release-floating-tags`, extended to cover a
new
    level introduced in steady state) instead of a bare `gh` error.
- **Skip trunk-reachable history in release-PR commit validation**
([#1149](vig-os/devkit#1149))
  - On a freshly migrated consumer's first release PR (`release/X.Y.Z` →
`main`), the `Commit Messages` job validated `merge-base(base,
head)..head`,
which spans the entire pre-migration history since the last release —
commits merged before the commit gate existed. A single non-compliant
historical commit permanently blocked the first release train (immutable
shared history, neither a merge nor bot-authored, so no exemption
applied).
`validate-commit-range` gains a repeatable `--exclude-reachable REF`
option,
and the scaffolded `ci.yml` now passes `--exclude-reachable origin/dev`
on
non-dev PRs: commits already reachable from the trunk branch were gated
(or
grandfathered) on their way into trunk and are no longer re-litigated.
The
exclusion is a no-op on a dev PR (whose base *is* dev), so it only
tightens
    release/main PR ranges.
- **Pin the release finalize sync-issues dispatch to the release
branch** ([#1150](vig-os/devkit#1150))
- The `finalize` job in `release-core.yml` dispatched `sync-issues.yml`
with
no `--ref`, so GitHub resolved the workflow on the **default branch** —
the
    pre-devkit workflow until the first devkit release merges — and both
`gh run list` polls omitted `--branch`, so a concurrent scheduled run
could
be mistaken for the dispatched one. On a consumer's first final release
this
timed out at finalize and triggered the automatic rollback. The dispatch
now
    passes `--ref "release/$VERSION"`, both polls filter `--branch
"release/$VERSION"`, and the wait ceiling is raised from 120 s to 600 s
(the first release-branch sync has no cutoff cache and self-heals up to
    14 days of history).
- **Render CodeQL push `paths:` filter per detected language**
([#1142](vig-os/devkit#1142))
- The scaffolded `codeql.yml` hardcoded the push-to-main trigger's
`paths:`
filter to `**.py`, so on a Node consumer a push touching only TS/JS
never
fired the post-merge CodeQL scan (only the unfiltered PR trigger caught
it).
`init-workspace.sh` now renders the filter from the same language
detection
as the matrix: python → `**.py`; node →
`**.ts`/`**.js`/`**.mjs`/`**.cjs`;
rust adds no source globs; the `.github/workflows/**` catch-all is
always
kept. Because `codeql.yml` is a managed file, consumer hand-fixes are no
    longer reverted on every devkit upgrade.
- **Never migrate scaffold-committed or template gitignore lines**
([#1145](vig-os/devkit#1145))
  - The [#1111](vig-os/devkit#1111) gitignore
migration copied entries that shadow scaffold-COMMITTED files: the old
Python-template `.gitignore` shipped `.envrc`, and migrating that entry
    into `.gitignore.project` silently kept the scaffolded `.envrc`
([#640](vig-os/devkit#640)) untracked,
breaking
direnv onboarding on every clone (observed live on the
sync-issues-action
1.3.0 deploy, vig-os/sync-issues-action#106). Scaffold-committed file
    names (`.envrc`, `.gitignore.project`, `flake.nix`, `flake.lock`,
    `justfile`, `justfile.project`, `.vig-os`) now never migrate.
- It also treated stale devkit language-template lines as
consumer-authored:
the managed set was built from the DETECTED languages' fragments only,
so
a repo that switched language templates (e.g. old Python-flavored
managed
`.gitignore`, now a Node repo) got ~90 lines of `__pycache__/`-style
junk
dumped into its consumer-owned file. The managed set is now built from
ALL
    `gitignore.d/` fragments — any line found in any devkit fragment is
    template material, never migrated.
vig-os-release-app Bot added a commit that referenced this pull request Jul 17, 2026
# [Release 1.3.1](https://github.com/vig-os/devkit/releases/tag/1.3.1) -
2026-07-17

This PR prepares release 1.3.1 for merge to main.

## [1.3.1](https://github.com/vig-os/devkit/releases/tag/1.3.1) -
2026-07-17

### Added

- **Document the first-release manual promote runbook**
([#1151](#1151))
- `promote-release.yml` is dispatched via `workflow_dispatch`, which
GitHub
only registers for workflows present on the **default branch** — and the
release-PR merge that puts it there is what promote itself performs, so
a
consumer's *first* promote 404s (chicken-and-egg). `docs/MIGRATION.md`
gains
a "First release after migrating to devkit" section with the end-to-end
manual promote sequence (undraft the Release → merge the release PR → RC
cleanup), a note that the manual path cannot be resumed by the workflow
    once the draft/PR preconditions are consumed, and a pointer to the
    floating-tag handling. Every subsequent release promotes normally.
- **Document the first-release floating-tag ruleset bypass**
([#1152](#1152))
- The imported Tag ruleset bypasses only the Release App (Integration) —
right
    for steady state, where `promote-release.yml` moves `<prefix>X` /
`<prefix>X.Y` with the app token — but on a first release the promote
workflow is not dispatchable and no human (not even an admin) can move
the
floating tags (`422 Cannot update this protected ref`), so the release
    publishes with `<prefix>X` stale and `<prefix>X.Y` missing, silently
breaking the `uses: owner/repo@<prefix>X` pin. `docs/MIGRATION.md` gains
a
    "First-release floating tags" subsection: temporarily add a
`RepositoryRole: admin` bypass to the Tag ruleset, move the tags to the
    peeled release commit (the same `move_tag` semantics as
    `promote-release.yml`), then revert the ruleset.

### Changed

- **Renovate dependency update**
([#1161](#1161))
  - Update `actions/attest` from `v4.1.1` to `v4.2.0`
  - Update `vig-os/commit-action` from `v0.3.0` to `v0.3.1`
  - Update `vig-os/sync-issues-action` from `v0.2.2` to `v0.4.0`
- **Renovate: update `github/codeql-action` from `99df26d` to
`7188fc3`** ([#1160](#1160))
- **Release extension seam gains a documented token ceiling**
([#1144](#1144))
- The `extension` caller job in the scaffolded `release.yml` now grants
the
`release-extension.yml` seam a ceiling of `contents: read`, `packages:
write`,
`id-token: write`, `attestations: write`. A called reusable workflow can
only
*downgrade* the caller's `GITHUB_TOKEN`, never elevate it, so with no
caller
    grant the seam was capped read-only and write-scoped extensions
(`actions/attest-build-provenance`, GHCR publish) were silently denied.
This
is a ceiling, not a grant: the shipped default no-op stays read-only and
a
consumer opts a job in by declaring the scopes it needs, up to the
ceiling.
Scopes beyond it (e.g. `contents: write`) still belong in a
consumer-owned
    tag-push workflow. Documented in `docs/DOWNSTREAM_RELEASE.md`.

### Fixed

- **Commit only the non-ignored `dist/` on release finalize**
([#1159](#1159))
- The finalize step passed the whole `dist` directory to `commit-action`
(`FILE_PATHS: CHANGELOG.md,dist`). `commit-action` walks a directory
path on
    disk and force-adds **every** file it finds — it never consults
    `.gitignore` — so the gitignored tsc/ncc byproducts (`dist/src/**`,
`*.tsbuildinfo`) were re-committed on every final release, re-tracking
them on
`main`, on `dev` (via `sync-main-to-dev`), and in the tag tree, and
making the
sanctioned `git rm --cached` cleanup impossible to persist (it re-bit as
a
release-PR `Dist Check` failure after an ncc/tsc-affecting dep bump).
The
build step now computes the tracked-plus-untracked-but-not-ignored set
with
`git ls-files -co --exclude-standard -- dist` (i.e. `git
add`/`.gitignore`
semantics) and the finalize commit ships only those explicit files, so
the
real bundle (`dist/index.js`, `dist/licenses.txt`) is committed without
the
    gitignored emit.
- **Fail loud with remediation when a first-time floating-tag create is
denied** ([#1157](#1157))
  - `promote-release.yml` force-**updates** an existing `<prefix>X` /
`<prefix>X.Y` via `PATCH`, but the first release of a **new** floating
level
must **create** the ref (`POST /git/refs`). When the Tag ruleset
restricts
tag creation and the Release App is not a bypass actor for its
`creation`
    rule, the create is denied as the opaque `Reference does not exist`
(HTTP 422); `retry` then hammered the permanent denial and the job
exited 1
    with no actionable signal — even though publish + merge had already
succeeded, leaving the advertised `@<prefix>X.Y` pin silently missing.
The
move step now guards the create and emits a `::error::` annotation
naming the
    tag, target commit, ruleset root cause, and the one-off remediation
(`docs/MIGRATION.md#first-release-floating-tags`, extended to cover a
new
    level introduced in steady state) instead of a bare `gh` error.
- **Skip trunk-reachable history in release-PR commit validation**
([#1149](#1149))
  - On a freshly migrated consumer's first release PR (`release/X.Y.Z` →
`main`), the `Commit Messages` job validated `merge-base(base,
head)..head`,
which spans the entire pre-migration history since the last release —
commits merged before the commit gate existed. A single non-compliant
historical commit permanently blocked the first release train (immutable
shared history, neither a merge nor bot-authored, so no exemption
applied).
`validate-commit-range` gains a repeatable `--exclude-reachable REF`
option,
and the scaffolded `ci.yml` now passes `--exclude-reachable origin/dev`
on
non-dev PRs: commits already reachable from the trunk branch were gated
(or
grandfathered) on their way into trunk and are no longer re-litigated.
The
exclusion is a no-op on a dev PR (whose base *is* dev), so it only
tightens
    release/main PR ranges.
- **Pin the release finalize sync-issues dispatch to the release
branch** ([#1150](#1150))
- The `finalize` job in `release-core.yml` dispatched `sync-issues.yml`
with
no `--ref`, so GitHub resolved the workflow on the **default branch** —
the
    pre-devkit workflow until the first devkit release merges — and both
`gh run list` polls omitted `--branch`, so a concurrent scheduled run
could
be mistaken for the dispatched one. On a consumer's first final release
this
timed out at finalize and triggered the automatic rollback. The dispatch
now
    passes `--ref "release/$VERSION"`, both polls filter `--branch
"release/$VERSION"`, and the wait ceiling is raised from 120 s to 600 s
(the first release-branch sync has no cutoff cache and self-heals up to
    14 days of history).
- **Render CodeQL push `paths:` filter per detected language**
([#1142](#1142))
- The scaffolded `codeql.yml` hardcoded the push-to-main trigger's
`paths:`
filter to `**.py`, so on a Node consumer a push touching only TS/JS
never
fired the post-merge CodeQL scan (only the unfiltered PR trigger caught
it).
`init-workspace.sh` now renders the filter from the same language
detection
as the matrix: python → `**.py`; node →
`**.ts`/`**.js`/`**.mjs`/`**.cjs`;
rust adds no source globs; the `.github/workflows/**` catch-all is
always
kept. Because `codeql.yml` is a managed file, consumer hand-fixes are no
    longer reverted on every devkit upgrade.
- **Never migrate scaffold-committed or template gitignore lines**
([#1145](#1145))
  - The [#1111](#1111) gitignore
migration copied entries that shadow scaffold-COMMITTED files: the old
Python-template `.gitignore` shipped `.envrc`, and migrating that entry
    into `.gitignore.project` silently kept the scaffolded `.envrc`
([#640](#640)) untracked,
breaking
direnv onboarding on every clone (observed live on the
sync-issues-action
1.3.0 deploy, vig-os/sync-issues-action#106). Scaffold-committed file
    names (`.envrc`, `.gitignore.project`, `flake.nix`, `flake.lock`,
    `justfile`, `justfile.project`, `.vig-os`) now never migrate.
- It also treated stale devkit language-template lines as
consumer-authored:
the managed set was built from the DETECTED languages' fragments only,
so
a repo that switched language templates (e.g. old Python-flavored
managed
`.gitignore`, now a Node repo) got ~90 lines of `__pycache__/`-style
junk
dumped into its consumer-owned file. The managed set is now built from
ALL
    `gitignore.d/` fragments — any line found in any devkit fragment is
    template material, never migrated.
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