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

AO3-6763 Set github action check to fail if reviewdog finds an error #4877

Merged
merged 2 commits into from
Jul 20, 2024

Conversation

Bilka2
Copy link
Contributor

@Bilka2 Bilka2 commented Jul 18, 2024

Issue

https://otwarchive.atlassian.net/browse/AO3-6763, broken on test II

Purpose

Sets fail_on_error for the reviewdog action so that the check is shown as failed when rubocop or erb-lint find an error. Currently the check shows as passed, see e.g. #4875.

Testing Instructions

Merge this into a PR with rubocop or erb-lint warnings and make sure that the reviewdog check on the PR fails.

References

Example PR: brianjaustin#1

Credit

Bilka (he/him)

@github-actions github-actions bot added Scope: Tests Only Only changes automated tests or test configuration Awaiting Review labels Jul 18, 2024
@sarken sarken added the Priority: High - Broken on Test Merge immediately after approval label Jul 19, 2024
@Bilka2 Bilka2 marked this pull request as ready for review July 20, 2024 09:04
@Bilka2
Copy link
Contributor Author

Bilka2 commented Jul 20, 2024

The GitHub repository setting "Allow specified actions and reusable workflows" needs to updated for tk0miya/action-erblint@eda368e7a0d8a0e71c475bb7cc65d0d612e5148c when this is merged.

@Bilka2 Bilka2 changed the title AO3-6763 Set github action check to fail if rubocop finds an error AO3-6763 Set github action check to fail if reviewdog finds an error Jul 20, 2024
@brianjaustin brianjaustin merged commit 15bf91d into otwcode:master Jul 20, 2024
27 checks passed
@brianjaustin
Copy link
Member

The GitHub repository setting "Allow specified actions and reusable workflows" needs to updated for tk0miya/action-erblint@eda368e7a0d8a0e71c475bb7cc65d0d612e5148c when this is merged.

Done!

@Bilka2 Bilka2 deleted the AO3-6763-BOT-2 branch July 21, 2024 09:01
@Bilka2
Copy link
Contributor Author

Bilka2 commented Jul 21, 2024

I confirmed that the check now shows a failure on #4875 as it should 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High - Broken on Test Merge immediately after approval Reviewed: Ready to Merge Scope: Tests Only Only changes automated tests or test configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants