Skip to content

github: Fix exit code of nightly check_commits step#2046

Merged
namhyung merged 1 commit into
namhyung:masterfrom
junyeong0619:fix-nightly-check
May 13, 2026
Merged

github: Fix exit code of nightly check_commits step#2046
namhyung merged 1 commit into
namhyung:masterfrom
junyeong0619:fix-nightly-check

Conversation

@junyeong0619

Copy link
Copy Markdown
Contributor

After the nightly workflow was changed to skip when no commits were merged to master, the check step returned a non-zero exit code in the "commits exist" case and caused the run to fail instead of proceeding to the tests. Rewrite it as a plain 'if' so the step always exits cleanly and only sets should_run=false when there really are no recent commits.

After the nightly workflow was changed to skip when no commits were
merged to master, the check step returned a non-zero exit code in the
"commits exist" case and caused the run to fail instead of proceeding
to the tests.  Rewrite it as a plain 'if' so the step always exits
cleanly and only sets should_run=false when there really are no
recent commits.

Signed-off-by: Jun Yeong Kim <junyeonggim5@gmail.com>
@junyeong0619

Copy link
Copy Markdown
Contributor Author

Hi @namhyung, I just noticed the nightly test failed. Please take a look.

@namhyung namhyung left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the quick fix.

@namhyung namhyung merged commit 82b7388 into namhyung:master May 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants