pantheon-systems / quicksilver-pushback

Push any commits made on the Pantheon dashboard back to the original GitHub repository.
MIT License
14 stars 13 forks source link

Pushback fails when github-secrets.json does not exist #4

Closed ataylorme closed 7 years ago

ataylorme commented 7 years ago
Enter push-back-to-github. Repository root is /srv/bindings/4a1cba5445d24d2a95be4999973ab61b/code.
Could not find /srv/bindings/4a1cba5445d24d2a95be4999973ab61b/files/private/github-secrets.json

Notice: Undefined index: token in /srv/bindings/4a1cba5445d24d2a95be4999973ab61b/code/web/private/scripts/quicksilver/quicksilver-pushback/push-back-to-github.php on line 38

Seems push-back-to-github.php isn't making use of load_github_secrets()

ataylorme commented 7 years ago

Actually is seems the code inside !isset($_ENV['PANTHEON_ENVIRONMENT'] is running....