While running this in Docker
docker run -ti --rm -e GITHUB_WATCHER_TOKEN=your_access_token duolabs/secret-bridge poll
I get prompted every time GitHub does a "pull"
INFO:root:Cloning repository ORG/REPO into /tmp/tmpglfe5wn9repo
Username for 'https://github.com':
It appears that processor.py is not passing the GitHub token from the config.toml
See on line 35 in processor.py
subprocess.run(["git", "clone", repo_url, repo_dir.name], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Looks like you just need to pass the variable to subprocess.run to fix this issue.
While running this in Docker
I get prompted every time GitHub does a "pull"
It appears that processor.py is not passing the GitHub token from the config.toml
See on line 35 in processor.py
Looks like you just need to pass the variable to subprocess.run to fix this issue.