Skip to content

Commit 7293cd2

Browse files
committed
(ELI-466) formatting
1 parent 707c313 commit 7293cd2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

scripts/workflow/pre-release_resolver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- Emits outputs for later steps.
88
99
Outputs (via $GITHUB_OUTPUT):
10-
this_sha, this_ref, latest_test_sha, latest_test_ref
10+
this_sha, this_ref, latest_test_sha, latest_test_ref
1111
"""
1212

1313
from __future__ import annotations
@@ -45,7 +45,7 @@ class RefInfo:
4545

4646
def get_event_name() -> str:
4747
"""Determine the effective event name,
48-
correcting for act quirks."""
48+
correcting for act quirks."""
4949
evt_env = os.getenv("GITHUB_EVENT_NAME", "")
5050
evt_payload = None
5151
path = os.getenv("GITHUB_EVENT_PATH")

scripts/workflow/release_type_resolver.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Behaviour
55
- Manual override: if MANUAL_RELEASE_TYPE is set (rc|patch|minor|major), emit that and exit.
66
- Otherwise aggregate: scan PRs merged since latest final tag up to LATEST_TEST_SHA
7-
and pick the highest label: major > minor > patch > rc.
7+
and pick the highest label: major > minor > patch > rc.
88
99
Env inputs (required)
1010
- GH_TOKEN / GITHUB_TOKEN
@@ -57,9 +57,9 @@ def manual_override() -> str | None:
5757
def discover_prs(base: str, head: str) -> Set[int]:
5858
"""
5959
Three-stage PR discovery in base..head:
60-
1) merge commits → commits/{sha}/pulls
61-
2) parse 'Merge pull request #123' subjects
62-
3) all commits → commits/{sha}/pulls (covers squash/rebase)
60+
1) merge commits → commits/{sha}/pulls
61+
2) parse 'Merge pull request #123' subjects
62+
3) all commits → commits/{sha}/pulls (covers squash/rebase)
6363
"""
6464
pr_nums: Set[int] = set()
6565

0 commit comments

Comments
 (0)