Pulling rulesets from a private github repository #2142
Replies: 2 comments 1 reply
-
Found a discussion here #2004 |
Beta Was this translation helpful? Give feedback.
1 reply
-
You should always authenticate your requests to the GitHub API, to avoid the low per-IP rate limit imposed on anonymous requests: #2005 covers providing different credentials to different GitHub servers (i.e. GitHub Enterprise Server). It doesn't change anything if you only use There's a bug in your workflow, either the repo/tag is incorrect or you aren't passing the credentials as documented: https://github.com/terraform-linters/setup-tflint?tab=readme-ov-file#usage |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
i am currently trying to pull a ruleset from a private github repository of which i am not the owner but i do have access to it with my user. However, even when i set up the GITHUB_TOKEN env var,
tflint --init
does not seem to be able to pull the ruleset.Failed to install a plugin; Failed to fetch GitHub releases: GET https://api.github.com/repos/my-comany/tflint-ruleset-company-rules/releases/tags/v1.0.0: 404 Not Found []
Has anyone got this working already or could this be a bug?
Beta Was this translation helpful? Give feedback.
All reactions