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

Fix regression of github latest URL #918

Merged
merged 1 commit into from
Jan 30, 2023
Merged

Conversation

k-omotani
Copy link
Contributor

Fix install.sh. on empty tag.
latest release url: https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#get-the-latest-release

error message

Run curl -sSfL https://raw.githubusercontent.com/securego/gosec/master/install.sh |
  curl -sSfL https://raw.githubusercontent.com/securego/gosec/master/install.sh |
    sh -s -- -b $GOPATH/bin
  shell: /usr/bin/bash -e {0}
  env:
    GOPRIVATE: github.com/Kyash/*
    GOPATH: /home/runner/go
securego/gosec info checking GitHub for latest tag
securego/gosec crit unable to find '' - use 'latest' or see https://github.com/securego/gosec/releases for details
Error: Process completed with exit code 1.

@ccojocar ccojocar merged commit 9432e67 into securego:master Jan 30, 2023
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