Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.13
0.6.14
6 changes: 5 additions & 1 deletion actions/release-publication/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ inputs:
description: Consumer workflow path that produced the finalized release-state artifact.
required: false
default: .github/workflows/prepare-release.yml
post-merge-event:
description: Workflow event that produced the finalized release-state artifact.
required: false
default: pull_request
attempts:
description: Maximum PublicationVerification attempts while publisher/App Store state converges.
required: false
Expand Down Expand Up @@ -46,7 +50,7 @@ runs:
artifact-name: release-state-${{ inputs.github-release-id }}
destination: ${{ runner.temp }}/release-publication-state
github-token: ${{ inputs.github-token }}
expected-event: pull_request
expected-event: ${{ inputs.post-merge-event }}
expected-workflow-path: ${{ inputs.post-merge-workflow-path }}

- id: setup
Expand Down
4 changes: 3 additions & 1 deletion tests/test_release_publication_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ class ReleasePublicationActionTest(unittest.TestCase):
def test_restores_state_from_post_merge_run(self) -> None:
content = ACTION.read_text(encoding="utf-8")
self.assertIn("release-state-${{ inputs.github-release-id }}", content)
self.assertIn("expected-event: pull_request", content)
self.assertIn("post-merge-event:", content)
self.assertIn("default: pull_request", content)
self.assertIn("expected-event: ${{ inputs.post-merge-event }}", content)
self.assertIn("expected-workflow-path:", content)

def test_retry_loop_reuses_publication_verify_contract(self) -> None:
Expand Down
Loading