-
Notifications
You must be signed in to change notification settings - Fork 377
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
Updating docs branch for the release. #689
+5,380
−761
Closed
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
f1e0e5b
handle npm aliased packages (#610)
cuixq 073639f
chore(deps): update workflows (#596)
renovate-bot 8340d5a
chore(deps): update dependency jekyll-feed to v0.17.0 (#597)
renovate-bot 4d4ad2a
chore(deps): update github/codeql-action action to v2.22.5 (#616)
renovate-bot ffa5425
fix(deps): update osv-scanner minor (#618)
renovate-bot 419a945
fix: handle yarn aliased packages (#615)
G-Rath f819495
Scan submodules too. (#581)
andrewpollock 5a02f6c
Go binary not found should not be an error (#622)
another-rex 130254c
Fix gitignore matching for root directory (#626)
michaelkedar b099238
Fix permissions in PR osv-scanner (#625)
another-rex ac2897c
Refactor package scanning to produce packages instead of queries (#614)
josieang 2b7f858
Add support for determineversions API (#612). (#621)
oliverchang 6316373
Prepare for v1.4.3 release (#629)
cuixq b71205c
Minor github action docs changes to clarify behaviour. (#630)
another-rex f08125b
test: check against error type rather than message (#628)
G-Rath 4aed961
upgrade version of Go in GitHub checks (#637)
josieang a85d675
license checking experimental feature (#501)
josieang 8996ffa
Filter local packages from scanning, and report the filtering. (#643)
another-rex 8fef787
fix(deps): update osv-scanner minor (#641)
renovate-bot 0599ed3
test: don't ignore anything from coverage (#627)
G-Rath 161f26d
fix: properly handle file/url paths on Windows (#645)
G-Rath 57ba6ce
chore(deps): update golang:alpine docker digest to 110b07a (#640)
renovate-bot 007b8e4
Downgrade jekyll-feed. Update lock file (#650)
c1ea22e
cmd/osv-scanner: update sarif output in test cases (#659)
cuixq 774df1d
Adding C/C++ info to the docs (#648)
f37072f
ci: enforce that `cachedregexp` is always used instead of `regexp` (#…
G-Rath 9e18c1f
fix: remove noise lockfile warnings (#660)
G-Rath e62c1b0
chore: disable `goconst` linter (#662)
G-Rath a3bda96
Don't include nested vendored libs in determineversions query. (#649)
oliverchang 0e0d6fd
ci: update `golangci-lint` to v1.54 (#661)
G-Rath eb862fd
feat: add support for comparing CRAN versions (#656)
G-Rath 521f59c
ci: run tests on Windows (#646)
G-Rath 54d61f3
make license allowlist matching case insensitive (#672)
josieang 1bd6916
refactor: upgrade golangci-lint (#673)
G-Rath 8c5634d
fix(deps): update osv-scanner minor (#652)
renovate-bot aa3ca89
Simplify return codes to return 1 if any vulnerability related error …
another-rex e99410e
feat: add support for `renv.lock` (#668)
G-Rath 7712ad4
Fix filter ids (#647)
another-rex 076aafd
Set Go call analysis to default behaviour (#665)
hogo6002 4a849b8
add experimental-licenses summary flag (#678)
josieang 98933ac
Setup manual release pipeline (#681)
another-rex 9b47887
update docs for call analysis. (#682)
hogo6002 ee537b2
Added license scanning info (#674)
bb13619
chore(deps): update workflows (#666)
renovate-bot a254b1d
feat: CVSS v4.0 support and replace cvss implementation to comply wit…
pandatix 9b4d714
Fix goreleaser build (#683)
another-rex b7ef0d7
Add `osv-scanner` pre-commit hook (#669)
kemzeb 289f653
fix(deps): update osv-scanner minor (#688)
renovate-bot d5052e7
chore(deps): update alpine:3.18 docker digest to 34871e7 (#686)
renovate-bot 979ca0b
chore(deps): update golang:alpine docker digest to 70afe55 (#687)
renovate-bot 56a6590
Include available formats in `--format` help message (#685)
kemzeb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: Pre-release check | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'The version tag to release, (e.g. v1.2.3)' | ||
required: true | ||
type: string | ||
commit: | ||
description: 'The commit hash to release' | ||
required: true | ||
type: string | ||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
# Require writing security events to upload SARIF file to security tab | ||
security-events: write | ||
|
||
jobs: | ||
osv-scan: | ||
uses: ./.github/workflows/osv-scanner-reusable.yml | ||
with: | ||
# Only scan the top level go.mod file without recursively scanning directories since | ||
# this is pipeline is about releasing the go module and binary | ||
scan-args: |- | ||
--skip-git | ||
./ | ||
|
||
lint: | ||
name: golangci-lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.commit }} | ||
- name: Set up Go | ||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | ||
with: | ||
go-version-file: .go-version | ||
check-latest: true | ||
- name: Run lint action | ||
uses: ./.github/workflows/lint-action | ||
tests: | ||
name: Run unit tests | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
persist-credentials: false | ||
ref: ${{ inputs.commit }} | ||
- name: Set up Go | ||
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | ||
with: | ||
go-version-file: .go-version | ||
check-latest: true | ||
- name: Run test action | ||
uses: ./.github/workflows/test-action | ||
release-helper: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- lint | ||
- tests | ||
- osv-scan | ||
steps: | ||
- name: Print Scripts | ||
env: | ||
OUTPUT: | | ||
git fetch upstream && | ||
git tag ${{ inputs.version }} ${{ inputs.commit }} && | ||
git push upstream ${{ inputs.version }} | ||
shell: bash | ||
run: | | ||
echo $OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.19 | ||
1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- id: osv-scanner | ||
name: osv-scanner | ||
description: Vulnerability scanner written in Go which uses the data provided by https://osv.dev | ||
entry: osv-scanner | ||
always_run: true | ||
pass_filenames: false | ||
language: golang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check failure
Code scanning / Scorecard
Token-Permissions High