@akira-tl/forgerelay 0.10.1 → 0.10.3

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.
@@ -108,3 +108,17 @@ test("release workflow is tag-only and promotes the verified npm artifact withou
108
108
  assert.doesNotMatch(workflow, /run:\s*\|/);
109
109
  assert.doesNotMatch(workflow, /shell:\s*bash/);
110
110
  });
111
+
112
+ test("manual Windows shell acceptance can never publish a release", async () => {
113
+ const workflow = await readFile(
114
+ resolve(repoRoot, ".github/workflows/windows-shell-acceptance.yml"),
115
+ "utf8",
116
+ );
117
+ assert.match(workflow, /workflow_dispatch:/);
118
+ assert.match(workflow, /runs-on:\s*windows-2022/);
119
+ assert.match(workflow, /run:\s*npm run pwsh:accept/);
120
+ assert.doesNotMatch(workflow, /release:publish/);
121
+ assert.doesNotMatch(workflow, /npm publish/);
122
+ assert.doesNotMatch(workflow, /contents:\s*write/);
123
+ assert.doesNotMatch(workflow, /id-token:\s*write/);
124
+ });