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

Inject GIT_BRANCH and GIT_COMMIT_SHA in env #3

Merged
merged 3 commits into from
Aug 28, 2019
Merged

Inject GIT_BRANCH and GIT_COMMIT_SHA in env #3

merged 3 commits into from
Aug 28, 2019

Conversation

b4nst
Copy link

@b4nst b4nst commented Aug 20, 2019

As mentioned in the doc code climate needs some env var to set the branch and SHA properly. Unfortunately the variable names set by GitHub Action are unsupported.

codeclimate/test-reporter#402 will address the problem.

Until that I've made this changes to works with the current test-reporter version.

Up to you to merge or wait for the test-reporter to be compliant with Action.

@paambaati
Copy link
Owner

@b4nst Thanks for the PR! I just realized I never set up a proper linter, and your style is different so the PR is actually quite big. Would you mind rebasing this and updating your dependencies and running npm run format/yarn format?

@b4nst
Copy link
Author

b4nst commented Aug 21, 2019

Wow woops ! Didn't check the diff before creating the PR 😖. My bad, of course I don't mind rebasing and cleaning. Will do today.

@yordis
Copy link

yordis commented Aug 28, 2019

Hey folks, any update on this?

@paambaati paambaati merged commit 4ecb636 into paambaati:master Aug 28, 2019
@paambaati
Copy link
Owner

Sorry I missed this! This fix just landed in v2.2.0 🎉

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