@rightkit/ci 0.2.42 → 0.2.43

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/manifest.mjs CHANGED
@@ -1128,7 +1128,8 @@ function windowsSigningJob(manifest, pm, artifactPrefix) {
1128
1128
  RIGHT_GIT_FINALIZED_WINDOWS_ROOT: \${{ runner.temp }}/finalized-windows
1129
1129
  RIGHT_GIT_SOURCE_REVISION: \${{ needs.admission.outputs.source_revision }}`
1130
1130
  : ` LEGION_UNSIGNED_CANDIDATE_ROOT: \${{ runner.temp }}/unsigned-windows-candidate
1131
- LEGION_SOURCE_REVISION: \${{ env.RIGHT_GIT_SOURCE_REVISION }}`;
1131
+ RIGHT_GIT_SOURCE_REVISION: \${{ needs.admission.outputs.source_revision }}
1132
+ LEGION_SOURCE_REVISION: \${{ needs.admission.outputs.source_revision }}`;
1132
1133
  const uploadPath = releaseChain
1133
1134
  ? " ${{ runner.temp }}/finalized-windows/**"
1134
1135
  : " dist/releases/windows/**\n .right-release/receipts/windows-*.json";
@@ -1257,7 +1258,8 @@ function macosSigningJob(manifest, pm, artifactPrefix) {
1257
1258
  RIGHT_GIT_FINALIZED_MACOS_ROOT: \${{ runner.temp }}/finalized-macos
1258
1259
  RIGHT_GIT_SOURCE_REVISION: \${{ needs.admission.outputs.source_revision }}`
1259
1260
  : ` LEGION_UNSIGNED_CANDIDATE_ROOT: \${{ runner.temp }}/unsigned-macos-candidate
1260
- LEGION_SOURCE_REVISION: \${{ env.RIGHT_GIT_SOURCE_REVISION }}`;
1261
+ RIGHT_GIT_SOURCE_REVISION: \${{ needs.admission.outputs.source_revision }}
1262
+ LEGION_SOURCE_REVISION: \${{ needs.admission.outputs.source_revision }}`;
1261
1263
  const uploadPath = releaseChain
1262
1264
  ? " ${{ runner.temp }}/finalized-macos/**"
1263
1265
  : " dist/releases/mac/**\n .right-release/receipts/macos-*.json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightkit/ci",
3
- "version": "0.2.42",
3
+ "version": "0.2.43",
4
4
  "description": "Public-repo-only GitHub Actions workflow layer: templates, visibility gate, sync/drift/adopt/uninstall for right-git.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "type": "module",
@@ -24,6 +24,9 @@
24
24
  "*.json"
25
25
  ],
26
26
  "sideEffects": false,
27
+ "scripts": {
28
+ "test": "node --test *.test.mjs"
29
+ },
27
30
  "publishConfig": {
28
31
  "registry": "https://registry.npmjs.org/",
29
32
  "access": "public"
@@ -33,7 +36,5 @@
33
36
  "url": "git+https://github.com/Orthic-Labs/rightkit.git",
34
37
  "directory": "packages/ci"
35
38
  },
36
- "scripts": {
37
- "test": "node --test *.test.mjs"
38
- }
39
- }
39
+ "packageManager": "pnpm@11.24.0"
40
+ }
package/render.test.mjs CHANGED
@@ -304,7 +304,9 @@ test("rust-hybrid release candidate can opt into OIDC Windows signing without lo
304
304
  // ref-triggered checkout.
305
305
  assert.match(content, /windows-sign:[\s\S]*?ref: \$\{\{ needs\.admission\.outputs\.source_revision \}\}\n\s+fetch-depth: 0\n\s+persist-credentials: false/);
306
306
  assert.match(content, /git rev-parse HEAD.*inputs\.source_revision/);
307
- assert.ok(content.includes("LEGION_SOURCE_REVISION: ${{ env.RIGHT_GIT_SOURCE_REVISION }}"));
307
+ assert.ok(content.includes("LEGION_SOURCE_REVISION: ${{ needs.admission.outputs.source_revision }}"));
308
+ assert.ok(content.includes("RIGHT_GIT_SOURCE_REVISION: ${{ needs.admission.outputs.source_revision }}"));
309
+ assert.doesNotMatch(content, /env\.RIGHT_GIT_SOURCE_REVISION/);
308
310
  assert.doesNotMatch(content, /LEGION_SOURCE_REVISION: \$\{\{ github\.sha \}\}/);
309
311
  assert.doesNotMatch(content, /secrets\.|client-secret|private.key/i);
310
312
  assert.doesNotMatch(content, /run: (?:pnpm|npm|yarn) run undefined\b/);
@@ -343,7 +345,9 @@ test("rust-hybrid release candidate can opt into protected macOS signing & notar
343
345
  assert.match(content, /secrets\.APPLE_API_KEY_BASE64/);
344
346
  assert.match(content, /macos-sign:[\s\S]*?ref: \$\{\{ needs\.admission\.outputs\.source_revision \}\}\n\s+fetch-depth: 0\n\s+persist-credentials: false/);
345
347
  assert.match(content, /git rev-parse HEAD.*inputs\.source_revision/);
346
- assert.ok(content.includes("LEGION_SOURCE_REVISION: ${{ env.RIGHT_GIT_SOURCE_REVISION }}"));
348
+ assert.ok(content.includes("LEGION_SOURCE_REVISION: ${{ needs.admission.outputs.source_revision }}"));
349
+ assert.ok(content.includes("RIGHT_GIT_SOURCE_REVISION: ${{ needs.admission.outputs.source_revision }}"));
350
+ assert.doesNotMatch(content, /env\.RIGHT_GIT_SOURCE_REVISION/);
347
351
  assert.doesNotMatch(content, /LEGION_SOURCE_REVISION: \$\{\{ github\.sha \}\}/);
348
352
  assert.match(content, /security delete-keychain/);
349
353
  assert.doesNotMatch(content, /pull_request_target/);