Closed TechMorgan closed 6 months ago
Are you building locally ?. If yes there is no way to automatically know the GitHub Repository where builder is located. You can put GITHUB_REPOSITORY
manually in .env file.
GITHUB_REPOSITORY=https://github.com/nikhilbadyal/docker-py-revanced Like this?
GITHUB_REPOSITORY=nikhilbadyal/docker-py-revanced
This should do the job. But why are you running the auto builder.
You can just use python main.py
GITHUB_REPOSITORY=nikhilbadyal/docker-py-revanced
This should do the job. But why are you running the auto builder.
You can just use
python main.py
Yeah i do use python main.py
I'm rate-limited now
GITHUB_REPOSITORY=nikhilbadyal/docker-py-revanced
This should do the job. But why are you running the auto builder. You can just usepython main.py
Yeah i do use
python main.py
I'm rate-limited now
You can provide GitHub token. See here
/cib
I have also added a fix in the attached PR. From now on the builder will not fail even when env is not set.
Request guidelines
Name
Youtube
Error log or link to the logs if using Github Action
Traceback (most recent call last): File "C:\Users\Deepak\Desktop\docker-py-revanced-main\main.py", line 63, in
main()
File "C:\Users\Deepak\Desktop\docker-py-revanced-main\main.py", line 34, in main
updates_info = load_older_updates(env)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Deepak\Desktop\docker-py-revanced-main\src\utils.py", line 252, in load_older_updates
github_repository=env.str("GITHUB_REPOSITORY"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Deepak\Desktop\docker-py-revanced-main\venv\Lib\site-packages\environs__init__.py", line 116, in method
raise EnvError(
environs.EnvError: Environment variable "GITHUB_REPOSITORY" not set
ENVS
Additional info
No response