Skip to content

Commit 79e019b

Browse files
lexmingboegel
andauthored
use OPTION_ERROR as exit code for wrong PR number
Co-authored-by: Kenneth Hoste <[email protected]>
1 parent 4e700b5 commit 79e019b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ def post_comment_in_issue(issue, txt, account=GITHUB_EB_MAIN, repo=GITHUB_EASYCO
829829
except ValueError as err:
830830
raise EasyBuildError(
831831
"Failed to parse specified pull request number '%s' as an int: %s; ", issue, err,
832-
exit_code=EasyBuildExit.FAIL_GITHUB
832+
exit_code=EasyBuildExit.OPTION_ERROR
833833
)
834834

835835
dry_run = build_option('dry_run') or build_option('extended_dry_run')

0 commit comments

Comments
 (0)