Skip to content

fix: Add fail_level to reviewdog actions#1759

Merged
kroese merged 3 commits into
masterfrom
build
Jun 4, 2026
Merged

fix: Add fail_level to reviewdog actions#1759
kroese merged 3 commits into
masterfrom
build

Conversation

@kroese
Copy link
Copy Markdown
Contributor

@kroese kroese commented Jun 4, 2026

No description provided.

Copilot AI review requested due to automatic review settings June 4, 2026 20:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the .github/workflows/review.yml “Review” workflow to make reviewdog-based linters fail the GitHub Actions job based on a configured threshold, rather than only reporting annotations.

Changes:

  • Added fail_level: error to multiple reviewdog steps (misspell, hadolint, yamllint, actionlint, shellcheck).
  • Added fail_on_error: "true" to the (currently disabled) reviewdog/action-shfmt step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

uses: reviewdog/action-yamllint@v1
with:
level: warning
fail_level: error
uses: reviewdog/action-shellcheck@v1
with:
level: warning
fail_level: error
Copilot AI review requested due to automatic review settings June 4, 2026 21:20
@@ -55,13 +58,15 @@ jobs:
if: false
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🚫 [actionlint] reported by reviewdog 🐶
constant expression "false" in condition. remove the if: section [if-cond]

@kroese kroese merged commit 0c9472b into master Jun 4, 2026
3 checks passed
@kroese kroese deleted the build branch June 4, 2026 21:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.

Comment on lines 23 to 26
locale: "US"
level: warning
fail_level: error
pattern: |
Comment on lines 34 to 37
with:
level: warning
fail_level: error
reporter: github-pr-review
Comment on lines 42 to 46
uses: reviewdog/action-yamllint@v1
with:
level: warning
fail_level: error
reporter: github-pr-review
Comment on lines 67 to 70
with:
level: warning
fail_level: error
reporter: github-pr-review
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