Skip to content

Commit 2541b5d

Browse files
Try auto release dispatcher (AST-000)
1 parent 0639549 commit 2541b5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/dispatch_event.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ def main():
66
cli_version = os.getenv('CLI_VERSION')
77
github_token = os.getenv('GITHUB_TOKEN')
88

9-
if not repo or not cli_version or not github_token:
10-
raise ValueError("REPO, CLI_VERSION, and GITHUB_TOKEN environment variables must be set.")
9+
if not repo or not github_token:
10+
raise ValueError("REPO and GITHUB_TOKEN environment variables must be set.")
1111

1212
api_url = f"https://api.github.com/repos/{repo}/dispatches"
1313
headers = {

0 commit comments

Comments
 (0)