Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
9cbd52b
chore(deps): bump anchore/sbom-action from 0.20.1 to 0.20.2 (#4048)
dependabot[bot] Jul 3, 2025
02703d5
feat: RHEL EUS detection (#4023)
kzantow Jul 7, 2025
f88be45
chore(deps): bump github.com/charmbracelet/bubbletea from 1.3.5 to 1.…
dependabot[bot] Jul 8, 2025
9dd0698
chore(deps): bump github.com/hashicorp/hcl/v2 from 2.23.0 to 2.24.0 (…
dependabot[bot] Jul 8, 2025
9928386
chore(deps): update CPE dictionary index (#4050)
anchore-actions-token-generator[bot] Jul 8, 2025
1c0ed13
chore(deps): bump github.com/olekukonko/tablewriter from 1.0.7 to 1.0…
dependabot[bot] Jul 8, 2025
75db652
chore(deps): update CPE dictionary index (#4058)
anchore-actions-token-generator[bot] Jul 14, 2025
13986b7
chore(deps): bump golang.org/x/net from 0.41.0 to 0.42.0 (#4056)
dependabot[bot] Jul 14, 2025
d88ad07
chore(deps): update tools to latest versions (#4053)
anchore-actions-token-generator[bot] Jul 14, 2025
9caad26
Pkg Metadata type unmarshal bug (#4043)
houdini91 Jul 14, 2025
2b1710b
chore(deps): bump golang.org/x/mod from 0.25.0 to 0.26.0 (#4054)
dependabot[bot] Jul 14, 2025
75eda39
chore(deps): bump github.com/bmatcuk/doublestar/v4 from 4.8.1 to 4.9.…
dependabot[bot] Jul 14, 2025
cef2a38
chore(deps): bump github.com/go-viper/mapstructure/v2 (#4061)
dependabot[bot] Jul 15, 2025
37c182d
chore(deps): update tools to latest versions (#4060)
anchore-actions-token-generator[bot] Jul 15, 2025
9cda2de
chore: lint gh actions with zizmor (#4062)
willmurphyscode Jul 16, 2025
0e5db45
chore(deps): bump marocchino/sticky-pull-request-comment (#4063)
dependabot[bot] Jul 17, 2025
c491dab
feat: add parsing for uv.lock (#3763)
jkugler Jul 17, 2025
64b62c0
chore(deps): update CPE dictionary index (#4067)
anchore-actions-token-generator[bot] Jul 21, 2025
af787d6
chore(deps): bump sigstore/cosign-installer from 3.9.1 to 3.9.2 (#4066)
dependabot[bot] Jul 21, 2025
0a9567e
chore(deps): update tools to latest versions (#4065)
anchore-actions-token-generator[bot] Jul 21, 2025
5b14d16
chore(deps): bump pygments (#4064)
dependabot[bot] Jul 21, 2025
a620baf
chore(deps): update anchore dependencies (#4068)
anchore-actions-token-generator[bot] Jul 21, 2025
6f36b58
chore: update release workflow to persist credentials for git tag ste…
spiffcs Jul 21, 2025
d5a562c
chore(deps): bump anchore/sbom-action from 0.20.2 to 0.20.4 (#4073)
dependabot[bot] Jul 22, 2025
a192787
chore(deps): bump github/codeql-action from 3.29.2 to 3.29.3 (#4074)
dependabot[bot] Jul 22, 2025
78c7cd2
chore(deps): update tools to latest versions (#4072)
anchore-actions-token-generator[bot] Jul 22, 2025
48bf81c
fix: align binary java detection with jvm cataloger + support IBM (#4…
kzantow Jul 22, 2025
f0a990b
chore: add source completion tester (#4077)
wagoodman Jul 23, 2025
d704609
chore(deps): update tools to latest versions (#4076)
anchore-actions-token-generator[bot] Jul 24, 2025
8b2c4a1
chore(deps): bump github/codeql-action from 3.29.3 to 3.29.4 (#4080)
dependabot[bot] Jul 24, 2025
5465bf4
chore(deps): update tools to latest versions (#4079)
anchore-actions-token-generator[bot] Jul 24, 2025
3f28480
chore(deps): update CPE dictionary index (#4083)
anchore-actions-token-generator[bot] Jul 28, 2025
bb8ea02
chore(deps): update tools to latest versions (#4082)
anchore-actions-token-generator[bot] Jul 28, 2025
998742f
chore(deps): bump modernc.org/sqlite from 1.38.0 to 1.38.1 (#4084)
dependabot[bot] Jul 28, 2025
4a69c00
chore(deps): bump github.com/jedib0t/go-pretty/v6 from 6.6.7 to 6.6.8…
dependabot[bot] Jul 28, 2025
702b435
chore(deps): bump github.com/olekukonko/tablewriter from 1.0.8 to 1.0…
dependabot[bot] Jul 28, 2025
d0d9c6a
chore(deps): bump github.com/bmatcuk/doublestar/v4 from 4.9.0 to 4.9.…
dependabot[bot] Jul 28, 2025
71aa59a
chore(deps): bump github.com/gkampitakis/go-snaps from 0.5.13 to 0.5.…
dependabot[bot] Jul 29, 2025
700a777
chore(deps): bump modernc.org/sqlite from 1.38.1 to 1.38.2 (#4088)
dependabot[bot] Jul 29, 2025
fa68af4
chore(deps): bump github.com/docker/docker (#4092)
dependabot[bot] Jul 29, 2025
28ba092
chore(deps): bump github.com/anchore/stereoscope (#4091)
dependabot[bot] Jul 30, 2025
8a7302c
migrate to get.anchore.io (#4095)
wagoodman Jul 30, 2025
bd79463
chore(deps): update anchore dependencies (#4098)
anchore-actions-token-generator[bot] Jul 30, 2025
386ef84
chore(deps): update anchore dependencies (#4104)
anchore-actions-token-generator[bot] Jul 30, 2025
801b21b
chore(deps): bump github/codeql-action from 3.29.4 to 3.29.5 (#4096)
dependabot[bot] Jul 30, 2025
5af72b6
chore(deps): update tools to latest versions (#4108)
anchore-actions-token-generator[bot] Jul 31, 2025
3820cba
chore(deps): update CPE dictionary index (#4112)
anchore-actions-token-generator[bot] Aug 4, 2025
fad9340
chore(deps): update tools to latest versions (#4111)
anchore-actions-token-generator[bot] Aug 4, 2025
b59c902
chore(deps): bump actions/cache in /.github/actions/bootstrap (#4120)
dependabot[bot] Aug 7, 2025
118f564
chore(deps): bump actions/cache from 4.2.3 to 4.2.4 (#4119)
dependabot[bot] Aug 7, 2025
d4d3111
chore(deps): bump docker/login-action from 3.4.0 to 3.5.0 (#4115)
dependabot[bot] Aug 7, 2025
8c6a2bc
fix: nondeterministic Java archive cataloging and improve groupID (#4…
kzantow Aug 7, 2025
594b309
feat: add binary classifier for hashicorp vault (#4121)
willmurphyscode Aug 8, 2025
7b92913
chore(deps): bump github/codeql-action from 3.29.7 to 3.29.8 (#4124)
dependabot[bot] Aug 8, 2025
7a9e1e0
chore(deps): bump golang.org/x/mod from 0.26.0 to 0.27.0 (#4123)
dependabot[bot] Aug 8, 2025
49736e7
chore(deps): bump golang.org/x/net from 0.42.0 to 0.43.0 (#4122)
dependabot[bot] Aug 8, 2025
3e5befc
chore(deps): update CPE dictionary index (#4126)
anchore-actions-token-generator[bot] Aug 11, 2025
21496e7
chore: update GoReleaser configurations (#4128)
emmanuel-ferdman Aug 11, 2025
6452a19
chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#4130)
dependabot[bot] Aug 11, 2025
9f956dc
fix: closed reader during java binary detection (#4129)
kzantow Aug 12, 2025
80e6117
fix: support multiple letters in openssl patch version (#4106)
honigbot Aug 12, 2025
104df88
chore(deps): bump github/codeql-action from 3.29.8 to 3.29.9 (#4134)
dependabot[bot] Aug 12, 2025
89470ec
feat: update syft license construction to be able to look up by URL (…
spiffcs Aug 12, 2025
6b48bd4
feat: add package supplier flag (#4131)
spiffcs Aug 12, 2025
ab9db00
chore(deps): bump zizmorcore/zizmor-action from 0.1.1 to 0.1.2 (#4135)
dependabot[bot] Aug 13, 2025
87e1d8c
feat: add support for authors, maintainers, and contributors in packa…
Aug 13, 2025
10ea022
chore(deps): update tools to latest versions (#4139)
anchore-actions-token-generator[bot] Aug 14, 2025
0e669fa
chore(deps): bump anchore/sbom-action from 0.20.4 to 0.20.5 (#4141)
dependabot[bot] Aug 15, 2025
c4292ad
chore(deps): bump github.com/hashicorp/go-getter from 1.7.8 to 1.7.9 …
dependabot[bot] Aug 18, 2025
ba2eb57
chore(deps): update CPE dictionary index (#4143)
anchore-actions-token-generator[bot] Aug 18, 2025
8e51e8d
chore(deps): bump github/codeql-action from 3.29.9 to 3.29.10 (#4145)
dependabot[bot] Aug 18, 2025
a433045
feat: basic Conda ecosystem support (#4002)
SimeonStoykovQC Aug 20, 2025
26792fc
chore(deps): bump github/codeql-action from 3.29.10 to 3.29.11 (#4149)
dependabot[bot] Aug 21, 2025
ca21ccf
chore: redhat cataloger error when sqlite not regsitered (#4150)
kzantow Aug 21, 2025
ada74a8
Feature: Add ffmpeg binary cataloger (#3994)
Aug 25, 2025
37b2c03
chore(deps): update tools to latest versions (#4154)
anchore-actions-token-generator[bot] Aug 25, 2025
9f07fa4
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (…
dependabot[bot] Aug 26, 2025
7dc7c01
chore(deps): bump github.com/diskfs/go-diskfs (#4159)
dependabot[bot] Aug 26, 2025
170c4c4
use go.yaml.in/yaml (#4157)
n-bes Aug 26, 2025
13ffeeb
feat: combine go module file and go source discovery into single cata…
spiffcs Aug 26, 2025
2d8e337
chore(deps): update anchore dependencies (#4169)
anchore-actions-token-generator[bot] Aug 26, 2025
cbcf8bd
chore(deps): bump golang.org/x/tools from 0.35.0 to 0.36.0 (#4172)
dependabot[bot] Aug 27, 2025
c4eb071
chore(deps): bump github.com/gookit/color from 1.5.4 to 1.6.0 (#4176)
dependabot[bot] Aug 28, 2025
bc18e3a
chore(deps): bump github.com/anchore/stereoscope (#4174)
dependabot[bot] Aug 28, 2025
7e4bf7f
chore(deps): bump github/codeql-action from 3.29.11 to 3.30.0 (#4181)
dependabot[bot] Sep 2, 2025
507987c
chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.0 (#4180)
dependabot[bot] Sep 2, 2025
39441f1
chore(deps): bump github.com/ulikunitz/xz from 0.5.12 to 0.5.14 (#4178)
dependabot[bot] Sep 2, 2025
6471960
chore(deps): update tools to latest versions (#4185)
anchore-actions-token-generator[bot] Sep 3, 2025
6f4da8c
chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 (…
dependabot[bot] Sep 3, 2025
98c97e2
chore(deps): bump actions/github-script from 7 to 8 (#4192)
dependabot[bot] Sep 8, 2025
2b8f4bc
chore(deps): bump github/codeql-action from 3.30.0 to 3.30.1 (#4191)
dependabot[bot] Sep 8, 2025
cc07df0
chore(deps): bump github.com/hashicorp/go-getter from 1.7.9 to 1.7.10…
dependabot[bot] Sep 8, 2025
b503690
chore(deps): bump actions/setup-go in /.github/actions/bootstrap (#4189)
dependabot[bot] Sep 8, 2025
8e78fd5
chore(deps): bump actions/setup-go from 5.5.0 to 6.0.0 (#4188)
dependabot[bot] Sep 8, 2025
3a7f1f2
chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 (#4182)
dependabot[bot] Sep 8, 2025
1df4779
chore(deps): bump golang.org/x/mod from 0.27.0 to 0.28.0 (#4198)
dependabot[bot] Sep 8, 2025
169220b
chore(deps): bump github.com/hashicorp/go-getter from 1.7.10 to 1.8.0…
dependabot[bot] Sep 8, 2025
67e0f7e
chore(deps): update tools to latest versions (#4194)
anchore-actions-token-generator[bot] Sep 8, 2025
f986327
chore(deps): bump golang.org/x/tools from 0.36.0 to 0.37.0 (#4211)
dependabot[bot] Sep 11, 2025
1fcdb67
chore(deps): bump github/codeql-action from 3.30.1 to 3.30.3 (#4210)
dependabot[bot] Sep 11, 2025
2531bfd
chore(deps): update tools to latest versions (#4200)
anchore-actions-token-generator[bot] Sep 11, 2025
b6f7532
chore(deps): bump github.com/vbatts/go-mtree from 0.5.4 to 0.6.0 (#4204)
dependabot[bot] Sep 11, 2025
04e989d
chore(deps): bump github.com/charmbracelet/bubbletea from 1.3.6 to 1.…
dependabot[bot] Sep 11, 2025
c6cd663
chore(deps): bump github.com/spf13/afero from 1.14.0 to 1.15.0 (#4202)
dependabot[bot] Sep 11, 2025
7bc15e3
Native Image SBOM: Add Support for Locations Data (#4186)
rudsberg Sep 11, 2025
c5cbc89
fix: include RpmDBEntry modularityLabel in CycloneDX (#4212)
sfc-gh-rmaj Sep 11, 2025
e1762a2
chore(deps): bump github.com/charmbracelet/bubbletea from 1.3.8 to 1.…
dependabot[bot] Sep 12, 2025
06b01aa
chore(deps): bump modernc.org/sqlite from 1.38.2 to 1.39.0 (#4219)
dependabot[bot] Sep 15, 2025
dacc2f6
chore(deps): bump sigstore/cosign-installer from 3.9.2 to 3.10.0 (#4218)
dependabot[bot] Sep 15, 2025
90c733d
chore(deps): bump 8398a7/action-slack from 3.18.0 to 3.19.0 (#4217)
dependabot[bot] Sep 15, 2025
333b951
chore(deps): bump zizmorcore/zizmor-action from 0.1.2 to 0.2.0 (#4216)
dependabot[bot] Sep 15, 2025
a51994d
chore(deps): update tools to latest versions (#4215)
anchore-actions-token-generator[bot] Sep 15, 2025
b87b919
chore(deps): update anchore dependencies (#4220)
anchore-actions-token-generator[bot] Sep 15, 2025
6005fb3
chore(deps): bump github.com/gkampitakis/go-snaps from 0.5.14 to 0.5.…
dependabot[bot] Sep 17, 2025
22f6f8f
chore(deps): update tools to latest versions (#4221)
anchore-actions-token-generator[bot] Sep 18, 2025
3abbd94
chore(deps): bump anchore/sbom-action from 0.20.5 to 0.20.6 (#4222)
dependabot[bot] Sep 18, 2025
409642c
chore(deps): bump github.com/hashicorp/go-getter from 1.8.0 to 1.8.1 …
dependabot[bot] Sep 18, 2025
d820c34
chore(deps): bump github.com/charmbracelet/bubbletea (#4228)
dependabot[bot] Sep 18, 2025
af4d19f
chore(deps): update tools to latest versions (#4230)
anchore-actions-token-generator[bot] Sep 22, 2025
323fd3e
docs: add GitHub actions to supported ecosystems (#4235)
kzantow Sep 23, 2025
c28b907
chore(deps): update tools to latest versions (#4236)
anchore-actions-token-generator[bot] Sep 24, 2025
21d50d7
feat: add ARM64 Windows build target (#4237)
compnerd Sep 24, 2025
8232f5b
chore(deps): bump actions/cache in /.github/actions/bootstrap (#4241)
dependabot[bot] Sep 25, 2025
261ab7c
chore(deps): bump actions/cache from 4.2.4 to 4.3.0 (#4240)
dependabot[bot] Sep 25, 2025
f0998de
chore(deps): bump github/codeql-action from 3.30.3 to 3.30.4 (#4239)
dependabot[bot] Sep 25, 2025
8629080
chore(deps): update tools to latest versions (#4238)
anchore-actions-token-generator[bot] Sep 25, 2025
64b71ec
chore(deps): bump github.com/quasilyte/go-ruleguard/dsl (#4245)
dependabot[bot] Sep 26, 2025
0a36dab
feat(cataloger): add snap package cataloger for metadata extraction (…
Sep 26, 2025
e1483e0
Add support for identifying ffmpeg/libav libraries (#4227)
Sep 26, 2025
605a275
chore(deps): bump github/codeql-action from 3.30.4 to 3.30.5 (#4246)
dependabot[bot] Sep 30, 2025
9217f20
chore: update ffmpeg tests (#4249)
kzantow Oct 1, 2025
b9604cb
chore(deps): bump github.com/CycloneDX/cyclonedx-go from 0.9.2 to 0.9…
dependabot[bot] Oct 2, 2025
5461a92
chore(deps): bump github.com/hashicorp/go-getter from 1.8.1 to 1.8.2 …
dependabot[bot] Oct 3, 2025
b96d3d2
chore(deps): bump github/codeql-action from 3.30.5 to 3.30.6 (#4253)
dependabot[bot] Oct 3, 2025
a77d24e
Improve struct and field comments and incorporate into json schema (#…
wagoodman Oct 3, 2025
ff6a8b1
chore(deps): update tools to latest versions (#4248)
anchore-actions-token-generator[bot] Oct 3, 2025
ea7dc8f
chore(deps): bump github.com/go-git/go-git/v5 from 5.16.2 to 5.16.3 (…
dependabot[bot] Oct 6, 2025
8f1d458
chore(deps): bump github.com/iancoleman/orderedmap (#4258)
dependabot[bot] Oct 6, 2025
c732052
feat(cpegenerate): add support for binary package digit-suffix variat…
hawkaii Oct 6, 2025
bd013fe
docs: Fix typos and linguistic errors in documentation (#4257)
survivant Oct 6, 2025
190f306
chore(deps): update tools to latest versions (#4261)
anchore-actions-token-generator[bot] Oct 8, 2025
337a275
chore(deps): bump golang.org/x/net from 0.44.0 to 0.45.0 (#4263)
dependabot[bot] Oct 8, 2025
3b82a37
chore(deps): bump github/codeql-action from 3.30.6 to 4.30.7 (#4262)
dependabot[bot] Oct 8, 2025
231f04a
feat: Parse pnpm v9 lockfiles (#4256)
bernardoamc Oct 9, 2025
7d4680b
chore(deps): bump golang.org/x/net from 0.45.0 to 0.46.0 (#4268)
dependabot[bot] Oct 9, 2025
18e789c
chore(deps): bump github.com/gohugoio/hashstructure from 0.5.0 to 0.6…
dependabot[bot] Oct 9, 2025
4ae8f73
migrate json schema generation (#4270)
wagoodman Oct 10, 2025
9d9eef8
chore: fix CVE-2025-11579, upgrade github.com/nwaples/rardecode/v2 (v…
yuzichen12123 Oct 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 8 additions & 8 deletions .binny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ tools:
# we want to use a pinned version of binny to manage the toolchain (so binny manages itself!)
- name: binny
version:
want: v0.9.0
want: v0.10.0
method: github-release
with:
repo: anchore/binny
Expand All @@ -26,7 +26,7 @@ tools:
# used for linting
- name: golangci-lint
version:
want: v2.2.1
want: v2.5.0
method: github-release
with:
repo: golangci/golangci-lint
Expand All @@ -42,7 +42,7 @@ tools:
# used for signing the checksums file at release
- name: cosign
version:
want: v2.5.2
want: v3.0.1
method: github-release
with:
repo: sigstore/cosign
Expand All @@ -58,7 +58,7 @@ tools:
# used to release all artifacts
- name: goreleaser
version:
want: v2.10.2
want: v2.12.5
method: github-release
with:
repo: goreleaser/goreleaser
Expand Down Expand Up @@ -90,31 +90,31 @@ tools:
# used for running all local and CI tasks
- name: task
version:
want: v3.44.0
want: v3.45.4
method: github-release
with:
repo: go-task/task

# used for triggering a release
- name: gh
version:
want: v2.74.2
want: v2.81.0
method: github-release
with:
repo: cli/cli

# used to upload test fixture cache
- name: oras
version:
want: v1.2.3
want: v1.3.0
method: github-release
with:
repo: oras-project/oras

# used to upload test fixture cache
- name: yq
version:
want: v4.45.4
want: v4.47.2
method: github-release
with:
repo: mikefarah/yq
11 changes: 7 additions & 4 deletions .github/actions/bootstrap/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ runs:
using: "composite"
steps:
# note: go mod and build is automatically cached on default with v4+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
if: inputs.go-version != ''
with:
go-version: ${{ inputs.go-version }}

- name: Restore tool cache
if: inputs.tools == 'true'
id: tool-cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ${{ github.workspace }}/.tool
key: ${{ inputs.cache-key-prefix }}-${{ runner.os }}-tool-${{ hashFiles('.binny.yaml') }}
Expand All @@ -55,12 +55,15 @@ runs:
- name: Install apt packages
if: inputs.bootstrap-apt-packages != ''
shell: bash
env:
APT_PACKAGES: ${{ inputs.bootstrap-apt-packages }}
run: |
DEBIAN_FRONTEND=noninteractive sudo apt update && sudo -E apt install -y ${{ inputs.bootstrap-apt-packages }}
IFS=' ' read -ra packages <<< "$APT_PACKAGES"
DEBIAN_FRONTEND=noninteractive sudo apt update && sudo -E apt install -y "${packages[@]}"

- name: Restore ORAS cache from github actions
if: inputs.download-test-fixture-cache == 'true'
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ${{ github.workspace }}/.tmp/oras-cache
key: ${{ inputs.cache-key-prefix }}-oras-cache
Expand Down
22 changes: 0 additions & 22 deletions .github/scripts/update-version-file.sh

This file was deleted.

12 changes: 7 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false

- name: Install Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 #v5.5.0
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 #v6.0.0
with:
go-version-file: go.mod

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b #v3.29.2
uses: github/codeql-action/init@e296a935590eb16afc0c0108289f68c87e2a89a5 #v3.29.5
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -56,7 +58,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b #v3.29.2
uses: github/codeql-action/autobuild@e296a935590eb16afc0c0108289f68c87e2a89a5 #v3.29.5

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -70,4 +72,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b #v3.29.2
uses: github/codeql-action/analyze@e296a935590eb16afc0c0108289f68c87e2a89a5 #v3.29.5
12 changes: 9 additions & 3 deletions .github/workflows/detect-schema-changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,15 @@ jobs:
label:
name: "Label changes"
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: write
issues: write
steps:

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false

- run: python .github/scripts/labeler.py
env:
Expand All @@ -40,15 +46,15 @@ jobs:

- name: Delete existing comment
if: ${{ hashFiles( env.CI_COMMENT_FILE ) == '' }}
uses: marocchino/sticky-pull-request-comment@d2ad0de260ae8b0235ce059e63f2949ba9e05943 #v2.9.3
uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 #v2.9.4
with:
header: ${{ env.COMMENT_HEADER }}
hide: true
hide_classify: "OUTDATED"

- name: Add comment
if: ${{ hashFiles( env.CI_COMMENT_FILE ) != '' }}
uses: marocchino/sticky-pull-request-comment@d2ad0de260ae8b0235ce059e63f2949ba9e05943 #v2.9.3
uses: marocchino/sticky-pull-request-comment@773744901bac0e8cbb5a0dc842800d45e9b2b405 #v2.9.4
with:
header: ${{ env.COMMENT_HEADER }}
path: ${{ env.CI_COMMENT_FILE }}
31 changes: 0 additions & 31 deletions .github/workflows/release-version-file.yaml

This file was deleted.

59 changes: 40 additions & 19 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
environment: release
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false

- name: Check if running on main
if: github.ref != 'refs/heads/main'
Expand All @@ -28,8 +30,10 @@ jobs:
- name: Check if tag already exists
# note: this will fail if the tag already exists
run: |
[[ "${{ github.event.inputs.version }}" == v* ]] || (echo "version '${{ github.event.inputs.version }}' does not have a 'v' prefix" && exit 1)
git tag ${{ github.event.inputs.version }}
[[ "$VERSION" == v* ]] || (echo "version '$VERSION' does not have a 'v' prefix" && exit 1)
git tag "$VERSION"
env:
VERSION: ${{ github.event.inputs.version }}

- name: Check static analysis results
uses: fountainhead/action-wait-for-check@5a908a24814494009c4bb27c242ea38c93c593be # v1.2.0
Expand Down Expand Up @@ -87,13 +91,20 @@ jobs:

- name: Quality gate
if: steps.static-analysis.outputs.conclusion != 'success' || steps.unit.outputs.conclusion != 'success' || steps.integration.outputs.conclusion != 'success' || steps.cli-linux.outputs.conclusion != 'success' || steps.acceptance-linux.outputs.conclusion != 'success' || steps.acceptance-mac.outputs.conclusion != 'success'
env:
STATIC_ANALYSIS_STATUS: ${{ steps.static-analysis.conclusion }}
UNIT_TEST_STATUS: ${{ steps.unit.outputs.conclusion }}
INTEGRATION_TEST_STATUS: ${{ steps.integration.outputs.conclusion }}
ACCEPTANCE_LINUX_STATUS: ${{ steps.acceptance-linux.outputs.conclusion }}
ACCEPTANCE_MAC_STATUS: ${{ steps.acceptance-mac.outputs.conclusion }}
CLI_LINUX_STATUS: ${{ steps.cli-linux.outputs.conclusion }}
run: |
echo "Static Analysis Status: ${{ steps.static-analysis.conclusion }}"
echo "Unit Test Status: ${{ steps.unit.outputs.conclusion }}"
echo "Integration Test Status: ${{ steps.integration.outputs.conclusion }}"
echo "Acceptance Test (Linux) Status: ${{ steps.acceptance-linux.outputs.conclusion }}"
echo "Acceptance Test (Mac) Status: ${{ steps.acceptance-mac.outputs.conclusion }}"
echo "CLI Test (Linux) Status: ${{ steps.cli-linux.outputs.conclusion }}"
echo "Static Analysis Status: $STATIC_ANALYSIS_STATUS"
echo "Unit Test Status: $UNIT_TEST_STATUS"
echo "Integration Test Status: $INTEGRATION_TEST_STATUS"
echo "Acceptance Test (Linux) Status: $ACCEPTANCE_LINUX_STATUS"
echo "Acceptance Test (Mac) Status: $ACCEPTANCE_MAC_STATUS"
echo "CLI Test (Linux) Status: $CLI_LINUX_STATUS"
false

release:
Expand All @@ -105,21 +116,22 @@ jobs:
# required for goreleaser signs section with cosign
id-token: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
fetch-depth: 0
persist-credentials: true

- name: Bootstrap environment
uses: ./.github/actions/bootstrap

- name: Login to Docker Hub
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 #v3.4.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 #v3.5.0
with:
username: ${{ secrets.ANCHOREOSSWRITE_DH_USERNAME }}
password: ${{ secrets.ANCHOREOSSWRITE_DH_PAT }}

- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 #v3.4.0
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 #v3.5.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -129,10 +141,11 @@ jobs:
run: |
git config --global user.name "anchoreci"
git config --global user.email "anchoreci@users.noreply.github.com"
git tag -a ${{ github.event.inputs.version }} -m "Release ${{ github.event.inputs.version }}"
git tag -a "$VERSION" -m "Release $VERSION"
git push origin --tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.event.inputs.version }}

- name: Build & publish release artifacts
run: make ci-release
Expand All @@ -148,13 +161,13 @@ jobs:
# for updating brew formula in anchore/homebrew-syft
GITHUB_BREW_TOKEN: ${{ secrets.ANCHOREOPS_GITHUB_OSS_WRITE_TOKEN }}

- uses: anchore/sbom-action@9246b90769f852b3a8921f330c59e0b3f439d6e9 #v0.20.1
- uses: anchore/sbom-action@f8bdd1d8ac5e901a77a92f111440fdb1b593736b #v0.20.6
continue-on-error: true
with:
file: go.mod
artifact-name: sbom.spdx.json

- uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e #v3.18.0
- uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e #v3.19.0
continue-on-error: true
with:
status: ${{ job.status }}
Expand All @@ -164,9 +177,17 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TOOLBOX_WEBHOOK_URL }}
if: ${{ success() }}

release-version-file:
release-install-script:
needs: [release]
uses: ./.github/workflows/release-version-file.yaml
if: ${{ needs.release.result == 'success' }}
uses: "anchore/workflows/.github/workflows/release-install-script.yaml@main"
with:
version: ${{ github.event.inputs.version }}
secrets: inherit
tag: ${{ github.event.inputs.version }}
secrets:
# needed for r2...
R2_INSTALL_ACCESS_KEY_ID: ${{ secrets.OSS_R2_INSTALL_ACCESS_KEY_ID }}
R2_INSTALL_SECRET_ACCESS_KEY: ${{ secrets.OSS_R2_INSTALL_SECRET_ACCESS_KEY }}
R2_ENDPOINT: ${{ secrets.TOOLBOX_CLOUDFLARE_R2_ENDPOINT }}
# needed for s3...
S3_INSTALL_AWS_ACCESS_KEY_ID: ${{ secrets.TOOLBOX_AWS_ACCESS_KEY_ID }}
S3_INSTALL_AWS_SECRET_ACCESS_KEY: ${{ secrets.TOOLBOX_AWS_SECRET_ACCESS_KEY }}
4 changes: 4 additions & 0 deletions .github/workflows/remove-awaiting-response-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:

jobs:
run:
permissions:
contents: read
issues: write
pull-requests: write
uses: "anchore/workflows/.github/workflows/remove-awaiting-response-label.yaml@main"
secrets:
token: ${{ secrets.OSS_PROJECT_GH_TOKEN }}
8 changes: 6 additions & 2 deletions .github/workflows/test-fixture-cache-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
permissions:
packages: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
with:
persist-credentials: false

- name: Bootstrap environment
uses: ./.github/actions/bootstrap
Expand All @@ -34,7 +36,9 @@ jobs:
DOWNLOAD_TEST_FIXTURE_CACHE: "false"

- name: Login to GitHub Container Registry (ORAS)
run: echo "${{ secrets.GITHUB_TOKEN }}" | .tool/oras login ghcr.io -u ${{ github.actor }} --password-stdin
run: echo "${{ secrets.GITHUB_TOKEN }}" | .tool/oras login ghcr.io -u "$ACTOR" --password-stdin
env:
ACTOR: ${{ github.actor }}

- name: Publish test fixture cache
run: make upload-test-fixture-cache
Loading
Loading