Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Greenkeeper GH_TOKEN for PR builds #12807

Merged
merged 2 commits into from Jan 12, 2018
Merged

Set up Greenkeeper GH_TOKEN for PR builds #12807

merged 2 commits into from Jan 12, 2018

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented Jan 11, 2018

The JWT token we were using earlier does not work for PR builds. Therefore, we were seeing a permission error: https://travis-ci.org/ampproject/amphtml/jobs/327380341#L808

This PR decodes a previously set GH token with just the public_repo permission, for use by greenkeeper-lockfile-upload.

Follow up to #12683 #12720 #12732 #12789 #12791
Unblocks #12766
Partial fix for #1218

@rsimha rsimha self-assigned this Jan 11, 2018
@rsimha
Copy link
Contributor Author

rsimha commented Jan 11, 2018

/to @erwinmombay

@rsimha
Copy link
Contributor Author

rsimha commented Jan 11, 2018

First version didn't work: https://travis-ci.org/ampproject/amphtml/jobs/327881026#L589

Trying atob within a node command.

@rsimha
Copy link
Contributor Author

rsimha commented Jan 12, 2018

@rsimha rsimha merged commit b8b01be into ampproject:master Jan 12, 2018
@rsimha rsimha deleted the 2018-01-11-GreenkeeperTOken branch January 12, 2018 04:59
gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
RanAbram pushed a commit to RanAbram/amphtml that referenced this pull request Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants