ci(release): allow live E2E actions reads

This commit is contained in:
Peter Steinberger
2026-04-27 07:26:33 +01:00
parent 9313554a8d
commit ca44ab65e6
2 changed files with 4 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ jobs:
live_and_e2e_release_checks:
needs: [resolve_target]
permissions:
actions: read
contents: read
packages: write
pull-requests: read

View File

@@ -105,6 +105,9 @@ describe("package artifact reuse", () => {
const workflow = readFileSync(RELEASE_CHECKS_WORKFLOW, "utf8");
expect(workflow).toContain("package_acceptance_release_checks:");
expect(workflow).toContain(
"live_and_e2e_release_checks:\n needs: [resolve_target]\n permissions:\n actions: read",
);
expect(workflow).toContain("uses: ./.github/workflows/package-acceptance.yml");
expect(workflow).toContain("package_ref: ${{ needs.resolve_target.outputs.ref }}");
expect(workflow).toContain("suite_profile: package");