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

retry when fetch pull request failed #1157

Open
2 tasks done
qingwusunny opened this issue Feb 6, 2025 · 2 comments
Open
2 tasks done

retry when fetch pull request failed #1157

qingwusunny opened this issue Feb 6, 2025 · 2 comments

Comments

@qingwusunny
Copy link

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
Copy link
Member

ldez commented Feb 6, 2025

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

@ldez ldez closed this as completed Feb 6, 2025
@ldez ldez added the declined label Feb 6, 2025
@qingwusunny
Copy link
Author

qingwusunny commented Feb 6, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants