@ankhorage/devtools 1.8.3 → 1.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -313,7 +313,7 @@ A repository participates in Changesets synchronization when `.changeset/config.
313
313
 
314
314
  CI and Release render their `bun-version` from the same managed Bun runtime policy used for `package.json`. They also render Changesets status, version, and publish commands from the same policy that owns the synchronized package scripts. The CI workflow installs that Bun version with the frozen lockfile, builds before repository-provider validation, runs `bunx @ankhorage/ankh doctor validate .`, and conditionally runs lint, formatting, Knip, tests, typecheck, and Changesets checks. Ordinary pull requests run the strict `changeset:status --since=origin/main` guard. A same-repository `changeset-release/main` pull request instead runs `bun run changeset -- status --since=HEAD`, validating the Version Packages metadata from the detached release checkout without requiring a local `main` ref or another unreleased Changeset after the release Changeset was consumed. A fork using that branch name remains subject to the ordinary strict guard. Release publishing calls the Devtools-owned runner through the synchronized package script; it never resolves an ambient or mutable Changesets executable.
315
315
 
316
- The Renovate workflow accepts only same-repository branches created by `renovate[bot]`. It calls the SHA-pinned `ankhorage/renovate` workflow to add a release Changeset for runtime Ankhorage dependency updates or an empty Changeset for dev-only updates, then dispatches CI for that bot-authored commit. It never checks out or executes pull-request code in the privileged `pull_request_target` context.
316
+ The Renovate workflow accepts only same-repository branches created by `renovate[bot]`. It calls the SHA-pinned `ankhorage/renovate` workflow to add a release Changeset for runtime Ankhorage dependency updates or an empty Changeset for dev-only updates. The trusted workflow scopes the Ankhorage Renovate Sync GitHub App token to the current repository and uses it only for the validated commit, allowing every normal pull-request CI workflow to start without manual approval. It never checks out or executes pull-request code in the privileged `pull_request_target` context.
317
317
 
318
318
  ## Managed VS Code configuration
319
319
 
@@ -8,8 +8,7 @@ on:
8
8
  - synchronize
9
9
 
10
10
  permissions:
11
- actions: write
12
- contents: write
11
+ contents: read
13
12
  pull-requests: read
14
13
 
15
14
  jobs:
@@ -18,4 +17,8 @@ jobs:
18
17
  github.actor == 'renovate[bot]' &&
19
18
  github.event.pull_request.head.repo.full_name == github.repository &&
20
19
  startsWith(github.event.pull_request.head.ref, 'renovate/')
21
- uses: ankhorage/renovate/.github/workflows/changeset.yml@ae2cde4673bb58c6659bc5a7bd16739fb6f0db5e
20
+ uses: ankhorage/renovate/.github/workflows/changeset.yml@b9a44c350b71b4292c8da69eb469888de60b68be
21
+ with:
22
+ renovate_sync_client_id: ${{ vars.ANKHORAGE_RENOVATE_SYNC_CLIENT_ID }}
23
+ secrets:
24
+ renovate_sync_private_key: ${{ secrets.ANKHORAGE_RENOVATE_SYNC_PRIVATE_KEY }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/devtools",
3
- "version": "1.8.3",
3
+ "version": "1.8.5",
4
4
  "description": "Shared development tools and repository standards for Ankhorage",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/ankhorage/devtools#readme",
@@ -115,13 +115,13 @@
115
115
  "eslint-plugin-security": "^4.0.1",
116
116
  "eslint-plugin-simple-import-sort": "^12.1.1",
117
117
  "eslint-plugin-unused-imports": "^4.4.1",
118
- "knip": "^6.32.3",
118
+ "knip": "^6.33.0",
119
119
  "prettier": "^3.9.6",
120
- "typescript-eslint": "^8.68.0"
120
+ "typescript-eslint": "^8.69.0"
121
121
  },
122
122
  "devDependencies": {
123
123
  "@ankhorage/ankh": "^0.8.4",
124
- "@ankhorage/doctor": "0.10.2",
124
+ "@ankhorage/doctor": "0.10.4",
125
125
  "@types/bun": "^1.4.0",
126
126
  "@types/node": "^25.9.5",
127
127
  "typescript": "^5.9.3"