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

Failed to run automated scorecard-action@main ossf-tests/scorecard-action-non-main-branch #169

Closed
naveensrinivasan opened this issue Apr 9, 2022 · 3 comments · Fixed by #171

Comments

@naveensrinivasan
Copy link
Member

https://github.com/ossf-tests/scorecard-action-non-main-branch/actions/runs/2142139482

@naveensrinivasan
Copy link
Member Author

@azeemshaikh38
Copy link
Contributor

Bug is here -

o.GithubRef == o.DefaultBranch {
. It should be o.GitHubRef != o.DefaultBranch. @rohankh532 can you send a PR to fix that? Get the PR merged into main first before pushing to golang-staging.

Also, include debug logs in the Golang action similar to how it's done for the bash action here - https://github.com/ossf/scorecard-action/blob/main/entrypoint.sh#L66-L75?

@naveensrinivasan
Copy link
Member Author

Bug is here -

o.GithubRef == o.DefaultBranch {

. It should be o.GitHubRef != o.DefaultBranch. @rohankh532 can you send a PR to fix that? Get the PR merged into main first before pushing to golang-staging.
Also, include debug logs in the Golang action similar to how it's done for the bash action here - https://github.com/ossf/scorecard-action/blob/main/entrypoint.sh#L66-L75?

👍

azeemshaikh38 pushed a commit that referenced this issue Apr 11, 2022
azeemshaikh38 pushed a commit that referenced this issue Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants