Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for recording offenses on PR, but not failing the build #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

igray
Copy link

@igray igray commented Apr 13, 2024

This adds a configuration option for specifying the exit code after running rubocop. Previously, when rubocop errors are detected, the exit code was hard-coded to 108. By making this configurable: specifically, setting it to "0" allows for the github build to pass.

@see https://docs.github.com/en/actions/creating-actions/setting-exit-codes-for-actions

This fixes #6

This adds a configuration option for specifying the exit code after
running rubocop. Previously, when rubocop errors are detected, the
exit code was hard-coded to 108. By making this configurable:
specifically, setting it to "0" allows for the github build to pass.

@see https://docs.github.com/en/actions/creating-actions/setting-exit-codes-for-actions
Copy link

@rodeezy rodeezy left a comment

Choose a reason for hiding this comment

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

this is a much-needed feature

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.

Allow the build to not fail if problems were found
2 participants