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

Receiving a number of HTTP 429 errors when fetching the release from GitHub #31

Open
diosif-cr opened this issue Jan 8, 2025 · 0 comments

Comments

@diosif-cr
Copy link

diosif-cr commented Jan 8, 2025

Hello,

Thank you for your work regarding XEOL and this GitHub Action. We've added it to our release pipeline, scanning our Docker images before they're pushed to ECR.

We have a monorepo with 13 projects, each of which, depending on the changes made in individual PRs, could build a Docker image and trigger an XEOL scan. We're also a fairly active team with multiple merges to main in a day. All of this results in us triggering, at times, 13 XEOL scans in parallel, potentially many times a day.

We're seeing the following issue sporadically during the day:

Run xeol-io/[email protected]
  with:
    image: xxx.dkr.ecr.eu-west-1.amazonaws.com/xxx/hello-api:1.2.3
    fail-build: true
    output-format: table
  env:
    [...]
/usr/bin/chmod +x /home/runner/_work/_temp/09987f0d-35f8-4405-8741-dbbda5279b42
/home/runner/_work/_temp/09987f0d-35f8-4405-8741-dbbda5279b42 -b /home/runner/_work/_temp/09987f0d-35f8-4405-8741-dbbda5279b42_xeol v0.9.3
[info] checking github for release tag='v0.9.3' 
Error:  received HTTP status=429 for url='https://github.com/xeol-io/xeol/releases/v0.9.3' 
Error:  unable to find tag='' 
Error:  do not specify a version or select a valid version from https://github.com/xeol-io/xeol/releases 
Error: ENOENT: no such file or directory, stat '/home/runner/_work/_temp/09987f0d-35f8-4405-8741-dbbda5279b42_xeol/xeol'

Any advice on how we can get around this, please?

I assume it's an issue with GitHub rate-limiting us, but I'm not clear on how to bypass this limit.

@diosif-cr diosif-cr changed the title Receiving a number of HTTP 429 errors Receiving a number of HTTP 429 errors when fetching the release from GitHub Jan 8, 2025
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

No branches or pull requests

1 participant