fix(release): allow Draft signature audit access

This commit is contained in:
tianma-if committed 2026-08-25 19:45:28 +08:00
1 parent 88dbf42464
commit 724cd428b7
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -72,6 +72,7 @@ describe("store delivery command", () => {
);
expect(workflow).toContain("github.repository == 'tianma-if/edgeever'");
expect(workflow).toContain("permissions:\n # Draft Releases are only visible to a token with repository write access.\n contents: write");
expect(workflow).toContain('gh release view "$RELEASE_TAG"');
expect(workflow).toContain('test "$(jq -r \'.isDraft\' <<<"$release")" = "true"');
expect(workflow).toContain("ref: ${{ steps.release.outputs.target_commitish }}");