Skip to content

Add fallback for git branch calculation#871

Merged
evans merged 1 commit intomasterfrom
evans/use-prBranch-fallback
Jan 4, 2019
Merged

Add fallback for git branch calculation#871
evans merged 1 commit intomasterfrom
evans/use-prBranch-fallback

Conversation

@evans
Copy link
Copy Markdown
Contributor

@evans evans commented Jan 3, 2019

In some ci's, the git branch will not be present in the environment with
the default that env-ci uses, so we need to provide a fallback. The
fallback is either the PR's branch if present or the .git branch. This
branch is used inside of the Engine frontend to display more information
about the schema changes.

See https://github.com/pvdlg/env-ci#caveats for a longer list of cases
when the branch will not be present in the ci environment

@evans evans requested a review from trevor-scheer January 3, 2019 23:54
@evans evans requested a review from jbaxleyiii as a code owner January 3, 2019 23:54
@evans evans force-pushed the evans/use-prBranch-fallback branch from 6c3947d to 5b5fe71 Compare January 3, 2019 23:58
In some ci's, the git branch will not be present in the environment with
the default that env-ci uses, so we need to provide a fallback. The
fallback is either the PR's branch if present or the .git branch. This
branch is used inside of the Engine frontend to display more information
about the schema changes.

See https://github.com/pvdlg/env-ci#caveats for a longer list of cases
when the branch will not be present in the ci environment
@evans evans force-pushed the evans/use-prBranch-fallback branch from 5b5fe71 to d05447d Compare January 4, 2019 00:12
@evans evans merged commit ef48c8f into master Jan 4, 2019
@evans evans deleted the evans/use-prBranch-fallback branch January 4, 2019 00:29
JakeDawkins pushed a commit that referenced this pull request Jan 16, 2019
In some ci's, the git branch will not be present in the environment with
the default that env-ci uses, so we need to provide a fallback. The
fallback is either the PR's branch if present or the .git branch. This
branch is used inside of the Engine frontend to display more information
about the schema changes.

See https://github.com/pvdlg/env-ci#caveats for a longer list of cases
when the branch will not be present in the ci environment
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.

2 participants