Skip to content

Commit 205b50c

Browse files
ryan-williamsclaude
andcommitted
Fix get_latest_runner_release() API call
Pass required `platform` and `architecture` arguments to match updated gha_runner API. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent a8cf748 commit 205b50c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lambda_gha/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ def main():
7272

7373
gh = GitHubInstance(token=token, repo=repo)
7474

75-
# Get runner release
76-
runner_release = gh.get_latest_runner_release()
75+
# Get runner release (Lambda instances are Linux x64)
76+
runner_release = gh.get_latest_runner_release(platform="linux", architecture="x64")
7777
params["runner_release"] = runner_release
7878

7979
# Generate runner tokens

0 commit comments

Comments
 (0)