Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Mon, 13 Apr 2020 21:38:49 UTC Commit: 03bb54d350677aec35f46310d966a5ff9f136666 https://github.com/geany/infrastructure/commit/03bb54d350677aec35f46310d966a...
Log Message: ----------- Read the GitHUB API token from the file directly
So we don't have to pass the token as command line argument which would show up in "ps", "top" and the like.
Modified Paths: -------------- github-backup/backup.sh
Modified: github-backup/backup.sh 4 lines changed, 1 insertions(+), 3 deletions(-) =================================================================== @@ -5,12 +5,10 @@ # # backup almost everything from Github except the GIT repositories itself as we have git.geany.org
-# read the token -. /home/geany/.github-token
# start the backup /home/geany/github-backup/venv/bin/github-backup \ - --token "${GITHUB_TOKEN}" \ + --token file:///home/geany/.github-token \ --issues \ --issue-comments \ --issue-events \
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).