Skip to content

CI: make lint failure at PR checks if there are any issues #6621

@Warashi

Description

@Warashi

What would you like to be added:

make lint failure at PR checks if there are any issues

Why is this needed:

This check is passed because the line issued is not the changed line in the PR.
https://github.com/pipe-cd/pipecd/actions/runs/23285781519/job/67708809150#step:3:117

However, gofmt linter seems reporting all issues as the first line.
So this check cannot catch such error in the PR checks.

If we merge such a PR without resolving the issues, the CI with the master branch will fail.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions