Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

Allow pulling from private repositories #1

Open
cdown opened this issue Jan 27, 2016 · 1 comment
Open

Allow pulling from private repositories #1

cdown opened this issue Jan 27, 2016 · 1 comment

Comments

@cdown
Copy link
Owner

cdown commented Jan 27, 2016

@emmekappa writes:

Hi Chris,

I read your article @ https://chrisdown.name/2015/09/27/auto-merging-successful-builds-from-travis-ci.html

I sugget you to edit the script to include the GITHUB_SECRET_TOKEN also during the cloning to allow the scripts to work also on private repositories.

line 17 should be git clone "https://[email protected]/$GITHUB_REPO" "$repo_temp”

Cheers,
Michele

Only one problem with that: that will display the secret in the output, so it would require the cloning to also be redirected to /dev/null to avoid leakage.

@emmekappa
Copy link

Opened a pull request with this fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants