golangci/golangci-lint-action

retry when fetch pull request failed

qingwusunny opened this issue · 2 comments

Welcome

  • Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
  • Yes, I've searched similar issues on GitHub and didn't find any.

Your feature request related to a problem? Please describe.

When fetch pr failed, it will scan all code. Can it retry 3 times to avoid network issues?

Image

Describe the solution you'd like.

retry multi times when fetch pr failed

Describe alternatives you've considered.

Provides failure retry option for the all action

Additional context.

No response

ldez commented

GitHub doesn't have network issues.

Your problem is not the network but the size of the diff, so retrying will not help.

Related to #996

I run github action on self-hosted pod. So there is network issue for my scene. And it is not for the size of diff,I can solved it by rerun github job

Image