aquasecurity / tfsec-action

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

github_token not getting recognised #18

Open avinashetrx opened 11 months ago

avinashetrx commented 11 months ago

We are using github enterpriese and after passing secret as token, we are seeing below in the runs.

Notice: Consider setting a GITHUB_TOKEN to prevent GitHub api rate limits

17+ echo '::notice title=GitHub API token::Consider setting a GITHUB_TOKEN to prevent GitHub api rate limits'

curl: (22) The requested URL returned error: 401 ++ echo '::error title=GitHub API request failure::The request to the GitHub API was likely rate-limited. Set a GITHUB_TOKEN to prevent this' ++ exit 1

Could you also provide the scope of GIHTUB_TOKEN on repository level ?