Skip to content

Conversation

@dcramer
Copy link
Member

@dcramer dcramer commented Jul 17, 2025

Summary

  • Changed default behavior to not fail builds when human code is detected
  • Added fail-on-human input option (default: false) to control build failure behavior
  • Changed post-comment default to true for better visibility

Changes

This PR makes the action more flexible by not failing builds by default when human code is detected. Instead:

  • The action will post a comment (now default behavior)
  • The action will log a warning instead of failing
  • Users can opt-in to the stricter behavior with fail-on-human: true

This allows teams to gradually adopt AI-first development practices without immediately blocking all human contributions.

- Changed default behavior: action no longer fails the build when human code is detected
- Added new `fail-on-human` input option (default: false) to control build failure behavior
- Changed `post-comment` default to true for better visibility
- When `fail-on-human` is false and human code is detected, the action now logs a warning instead of failing
- Updated README.md with documentation for the new option
@dcramer dcramer force-pushed the feat/configurable-build-failure branch from 25efb8a to 9cfda42 Compare July 17, 2025 05:20
@dcramer dcramer merged commit b22941b into main Jul 17, 2025
9 checks passed
@dcramer dcramer deleted the feat/configurable-build-failure branch July 17, 2025 05:23
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