Skip to content

Commit db4b6f8

Browse files
- set correct RUN_TASK env var for closed and merged tests
1 parent c5284d0 commit db4b6f8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/git_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ def extract_issue_number_from_branch(branch_name: str) -> Optional[int]:
867867
except ValueError:
868868
debug_log(f"Failed to convert extracted issue number '{match.group(1)}' from copilot or claude branch to int")
869869
pass
870-
870+
871871
return None
872872

873873

test/test_closed_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
'CONTRAST_AUTHORIZATION_KEY': 'test-auth-key',
3939
'CONTRAST_API_KEY': 'test-api-key',
4040
'GITHUB_WORKSPACE': '/tmp',
41-
'RUN_TASK': 'generate_fix',
41+
'RUN_TASK': 'closed',
4242
'BUILD_COMMAND': 'echo "Test build command"',
4343
'GITHUB_EVENT_PATH': '/tmp/github_event.json',
4444
'REPO_ROOT': '/tmp/test_repo',

test/test_merge_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
'CONTRAST_AUTHORIZATION_KEY': 'test-auth-key',
3939
'CONTRAST_API_KEY': 'test-api-key',
4040
'GITHUB_WORKSPACE': '/tmp',
41-
'RUN_TASK': 'generate_fix',
41+
'RUN_TASK': 'merge',
4242
'BUILD_COMMAND': 'echo "Test build command"',
4343
'GITHUB_EVENT_PATH': '/tmp/github_event.json',
4444
'REPO_ROOT': '/tmp/test_repo',

0 commit comments

Comments
 (0)