Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting with 2023 we started having false go-header positives. This was due to two things: 1) we need to add history during the checkout, as the go-header linter checks if the header in the sources should include the current year using 'git log' (if it fails, would check the file stats, but that has been just checked out, so will match current year for sure). 2) the current golangci-lint v1.50.1 is more sensible to the yaml syntax, in particular to the curly braces: the parser will work correctly if the curly braces have a space before (and after) the expression to be evaluated. Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
- Loading branch information