aquasecurity / tfsec-action

Vanilla GitHub action to run tfsec
MIT License
51 stars 28 forks source link

Hitting GitHub API rate limits #8

Closed nkuik closed 1 year ago

nkuik commented 1 year ago

I am experiencing rate limits on GitHub API when using this action, similar to the issue in the tfsec-pr-commenter-action.

Here is an output of the error:

+ TFSEC_VERSION=latest
+ '[' v1.28.1 '!=' latest ']'
+ TFSEC_VERSION=tags/v1.28.1
++ grep -o -E 'https://.+?tfsec-linux-amd64'
++ wget -q https://api.github.com/repos/aquasecurity/tfsec/releases/tags/v1.28.1 -O -
++ head -n1
wget: server returned error: HTTP/1.1 403 rate limit exceeded
+ wget -O - -q ''
wget: bad address ''

I have a fix in my fork that I will submit, which relies heavily on the fix that was merged on the issue linked above.

roee-landesman commented 1 year ago

Can we cut a release (1.0.3) since this was fixed?

giorod3 commented 1 year ago

Hi @roee-landesman here is the new release https://github.com/aquasecurity/tfsec-action/releases/tag/v1.0.3. I will close this issue now.