Skip to content

feat: comment on unmatched branches by default - #259

Merged
michisec merged 1 commit into
mainfrom
feat/comment-on-unmatched-by-default
Nov 7, 2026
Merged

michisec merged 1 commit into
mainfrom
feat/comment-on-unmatched-by-default

Conversation

@michisec

@michisec michisec commented Nov 7, 2026

Copy link
Copy Markdown
Owner

This pull request changes the default behavior for posting comments on pull requests when a branch does not match any specified patterns. Now, a comment is posted by default unless explicitly disabled. The documentation, input handling, and tests have all been updated to reflect this new default.

Default behavior change:

  • The commentOnUnmatchedPattern input now defaults to true, so a comment will be posted on the pull request when the branch does not match any pattern, unless set to false. [1] [2] [3] [4]

Documentation updates:

  • Updated README.md to describe the new default behavior for unmatched branches, including revised examples and option tables. [1] [2] [3] [4] [5]

Test updates:

  • Added and updated tests in runner_test.go to verify that commenting is enabled by default and can be disabled by setting commentOnUnmatchedPattern: false. [1] [2] [3]

Change commentOnUnmatchedPattern to default to true so an unmatched branch posts or updates a pull request comment without extra configuration. Setting the input to false disables commenting.

Update the README behavior table, examples, and tests to reflect the new default.
@michisec
michisec merged commit 6952659 into main Nov 7, 2026
5 checks passed
@michisec
michisec deleted the feat/comment-on-unmatched-by-default branch November 7, 2026 21:09
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.

1 participant