Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@focusaurus
Copy link
Contributor

Impact: minor
Type: chore

Issue

CI for forks was breaking because they were missing the DOCKER_REPOSITORY env var so the curl command that determines the target branch of a PR was breaking due to bad URL 404 error.

Solution

Compute the github URL to the api for this repo using the output of git remote -v.

Breaking changes

N/A

Testing

  1. Make sure CI passes in this source repo
  2. Make sure CI passes in forks of this repo

- don't depend on DOCKER_REPOSITORY env var

Signed-off-by: Peter Lyons <[email protected]>
@focusaurus focusaurus requested a review from kieckhafer July 30, 2019 15:15
Copy link
Member

@kieckhafer kieckhafer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kieckhafer kieckhafer merged commit 06ad83b into develop Jul 30, 2019
@kieckhafer kieckhafer deleted the fix-eslint-on-forks branch July 30, 2019 16:15
@kieckhafer kieckhafer mentioned this pull request Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants