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

fix: linter: use new-from-rev #1642

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Conversation

holyspectral
Copy link
Collaborator

When there are more than 20,000 lines in GitHub diff, GitHub will return 406 error and prevent linter from running correctly.

This commit uses new-from-rev, so it can generate diff from git repo instead of GitHub API.

Related issue:

golangci/golangci-lint-action#996

When there are more than 20,000 lines in GitHub diff, GitHub will return
406 error and prevent linter from running correctly.

This commit uses new-from-rev, so it can generate diff from git repo
instead of GitHub API.
@holyspectral holyspectral requested review from yasker and a team as code owners October 29, 2024 15:06
@holyspectral holyspectral merged commit c43cd23 into neuvector:main Oct 29, 2024
2 checks passed
@holyspectral holyspectral deleted the use-depth-0 branch October 29, 2024 16:12
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