mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:50:43 +00:00
ci(release): allow live E2E actions reads
This commit is contained in:
@@ -158,6 +158,7 @@ jobs:
|
||||
live_and_e2e_release_checks:
|
||||
needs: [resolve_target]
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
packages: write
|
||||
pull-requests: read
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user