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

Default Branch Checking Bugfix #171

Merged
merged 27 commits into from
Apr 21, 2022
Merged

Conversation

rohankh532
Copy link
Contributor

PR to fix #169

Copy link
Member

@naveensrinivasan naveensrinivasan left a comment

Choose a reason for hiding this comment

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

Looks good. @azeemshaikh38 👀

@naveensrinivasan
Copy link
Member

Shouldn't this target golang-staging branch?

@codecov
Copy link

codecov bot commented Apr 21, 2022

Codecov Report

Merging #171 (23f5937) into main (c8f6027) will increase coverage by 3.86%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
+ Coverage   58.45%   62.31%   +3.86%     
==========================================
  Files           3        3              
  Lines         207      207              
==========================================
+ Hits          121      129       +8     
+ Misses         75       69       -6     
+ Partials       11        9       -2     
Impacted Files Coverage Δ
options/options.go 80.80% <100.00%> (+6.39%) ⬆️

@rohankh532 rohankh532 changed the base branch from main to golang-staging April 21, 2022 17:56
@rohankh532
Copy link
Contributor Author

Shouldn't this target golang-staging branch?

Oops, fixed.

@azeemshaikh38
Copy link
Contributor

Shouldn't this target golang-staging branch?

Oops, fixed.

This should not be golang-staging, merging this to main is the right thing to do. Copying my reply to Naveen over slack here:

we want to merge these changes to main and after that to golang-staging . Basically, the only diff between main and golang-staging should be that the Dockerfile uses Golang instead of Bash. Everything else should be equivalent

@rohankh532 rohankh532 changed the base branch from golang-staging to main April 21, 2022 18:44
@rohankh532
Copy link
Contributor Author

Shouldn't this target golang-staging branch?

Oops, fixed.

This should not be golang-staging, merging this to main is the right thing to do. Copying my reply to Naveen over slack here:

we want to merge these changes to main and after that to golang-staging . Basically, the only diff between main and golang-staging should be that the Dockerfile uses Golang instead of Bash. Everything else should be equivalent

Got it, changed back to main.

Copy link
Contributor

@azeemshaikh38 azeemshaikh38 left a comment

Choose a reason for hiding this comment

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

LGTM overall. Revert the changes on Dockerfile and ensure that the unit tests are passing.

Copy link
Contributor

@azeemshaikh38 azeemshaikh38 left a comment

Choose a reason for hiding this comment

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

Thanks!

@azeemshaikh38 azeemshaikh38 enabled auto-merge (squash) April 21, 2022 20:23
@azeemshaikh38 azeemshaikh38 merged commit 559d544 into ossf:main Apr 21, 2022
@azeemshaikh38 azeemshaikh38 mentioned this pull request Apr 22, 2022
justaugustus pushed a commit to justaugustus/scorecard that referenced this pull request May 26, 2022
* test action

* fixed Dockerfile

* / before policy filepath

* default branch checking + log

* revert logging

* remove lookupenv

* Dockerfile use golang entrypoint

* fixed test githubRef env

* revert dockerfile

* revert dockerfile
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.

Failed to run automated scorecard-action@main ossf-tests/scorecard-action-non-main-branch
3 participants