Skip to content

fix: skip comment logic was backwards - #249

Open
jazanne wants to merge 1 commit into
launchdarkly:mainfrom
Fieldguide:jwhite/fix-skip-comment
Open

fix: skip comment logic was backwards#249
jazanne wants to merge 1 commit into
launchdarkly:mainfrom
Fieldguide:jwhite/fix-skip-comment

Conversation

@jazanne

@jazanne jazanne commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

I introduced the wrong logic for skip comment in #234


Note

Overview
Corrects a logic inversion in main.go for the skip-comment config (INPUT_SKIP-COMMENT).

When config.SkipComment is true, the action now logs that comment creation is skipped and does not call postGithubComment. When it is false, it posts or updates the comment as before. The previous !config.SkipComment branch had the opposite behavior relative to the log message and intended option semantics.

Reviewed by Cursor Bugbot for commit f927d77. Bugbot is set up for automated code reviews on this repo. Configure here.

@jazanne
jazanne requested a review from a team as a code owner August 19, 2026 18:56
@jazanne

jazanne commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

just wanted to bump this for release :) thanks for review @erangeles

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