Skip to content

Update to upstream #48

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

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
db2e0bf
chore(deps): Bump github.com/sigstore/protobuf-specs from 0.3.3 to 0.…
dependabot[bot] Feb 24, 2025
56a016f
chore(deps): Bump k8s.io/apimachinery from 0.32.0 to 0.32.2 (#1783)
dependabot[bot] Feb 24, 2025
9a4523b
chore(deps): Bump k8s.io/api from 0.32.0 to 0.32.2 (#1785)
dependabot[bot] Feb 25, 2025
e05f8fa
chore(deps): Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 (…
dependabot[bot] Feb 25, 2025
d5ff579
chore(deps): Bump github.com/docker/docker (#1787)
dependabot[bot] Feb 25, 2025
3645dd2
chore(deps): Bump k8s.io/client-go from 0.32.0 to 0.32.2 (#1784)
dependabot[bot] Mar 5, 2025
96032dd
Update test data and generator
codysoyland Apr 1, 2025
d36fabc
Merge pull request #1806 from sigstore/update-testdata
codysoyland Apr 3, 2025
ea2a9c5
Update Dependabot config to use weekly grouped updates
codysoyland Apr 4, 2025
042759b
Merge pull request #1808 from sigstore/dependabot-grouped-updates
codysoyland Apr 4, 2025
b847383
chore(deps): Bump golangci/golangci-lint-action from 6.1.1 to 7.0.0
dependabot[bot] Apr 4, 2025
f4ea60a
Update golangci-lint config to version 2
codysoyland Apr 4, 2025
13fe05f
Move linter to separate workflow and bump expected config version
codysoyland Apr 4, 2025
9b94460
Merge pull request #1813 from sigstore/update-golangci-lint
codysoyland Apr 4, 2025
96668bd
chore(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.3 to 3.0.4
dependabot[bot] Apr 4, 2025
0590066
chore(deps): Bump the minor-patch group across 1 directory with 13 up…
dependabot[bot] Apr 4, 2025
84e5d98
chore(deps): Bump the minor-patch group with 19 updates
dependabot[bot] Apr 7, 2025
193c711
Merge pull request #1814 from sigstore/dependabot/github_actions/mino…
codysoyland Apr 7, 2025
be3b914
Merge pull request #1793 from sigstore/dependabot/go_modules/github.c…
codysoyland Apr 7, 2025
bf9a9c1
Update third_party
codysoyland Apr 7, 2025
35cbe6a
Merge pull request #1810 from sigstore/dependabot/go_modules/minor-pa…
codysoyland Apr 7, 2025
b8550d4
chore(deps): Bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 (#…
dependabot[bot] Apr 7, 2025
dd2aa7b
Update sigstore/sigstore
codysoyland Apr 8, 2025
02f5188
Merge pull request #1816 from sigstore/update-sigstore-sigstore
codysoyland Apr 8, 2025
e09153d
chore(deps): Bump the sigstore group across 1 directory with 8 updates
dependabot[bot] Apr 9, 2025
e558dd0
Update scaffolding version in workflows
codysoyland Apr 8, 2025
e5a5986
Add UseSignedTimestamps to checkOptsFromAuthority
codysoyland Apr 9, 2025
295f8a5
go mod tidy
codysoyland Apr 9, 2025
c665f35
Update codegen
codysoyland Apr 9, 2025
9498814
Remove toolchain directive to possibly fix issue with go-licenses
codysoyland Apr 10, 2025
e7e1190
Merge pull request #1819 from sigstore/dependabot/go_modules/sigstore…
codysoyland Apr 10, 2025
b1183f0
chore(deps): Bump the minor-patch group with 2 updates (#1823)
dependabot[bot] Apr 14, 2025
e58d7f5
chore(deps): Bump the sigstore group with 5 updates (#1821)
dependabot[bot] Apr 14, 2025
d3d58e2
Merge tag 'v0.12.1'
JasonPowr Jun 20, 2025
7310c41
build: run go mod tidy
JasonPowr Jun 20, 2025
8768df0
chore(deps): update docker images
red-hat-konflux[bot] Jun 13, 2025
202b341
pin ch/actions to a hash tag and update version comment (#1829)
cpanato Apr 22, 2025
4af208c
ci: gen test data
JasonPowr Jun 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,20 @@ updates:
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
interval: weekly
open-pull-requests-limit: 10
groups:
sigstore:
patterns:
- "github.com/sigstore/**"
minor-patch:
update-types: ["minor", "patch"]

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
interval: weekly
open-pull-requests-limit: 10
groups:
minor-patch:
update-types: ["minor", "patch"]
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0
- uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1

- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: './go.mod'
check-latest: true

# will use the latest release available for ko
- uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- uses: chainguard-dev/actions/goimports@dacf41f3472c33979cfd49bca5b503236be57de0 # main
- uses: chainguard-dev/actions/goimports@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3

- name: Set up Cloud SDK
uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7
uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8
with:
workload_identity_provider: 'projects/498091336538/locations/global/workloadIdentityPools/githubactions/providers/sigstore-policy-controller'
service_account: 'gha-policy-controller@projectsigstore.iam.gserviceaccount.com'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Utilize Go Module Cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: |
~/go/pkg/mod
Expand All @@ -61,7 +61,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
with:
languages: ${{ matrix.language }}

Expand All @@ -70,4 +70,4 @@ jobs:
make policy-controller

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
2 changes: 1 addition & 1 deletion .github/workflows/donotsubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2

- name: Do Not Submit
uses: chainguard-dev/actions/donotsubmit@29fb6e979a0b3efc79748a17e8cec08d0594cbfd # main
uses: chainguard-dev/actions/donotsubmit@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
12 changes: 6 additions & 6 deletions .github/workflows/kind-cluster-image-policy-no-tuf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

env:
KO_DOCKER_REPO: "registry.local:5000/policy-controller"
SCAFFOLDING_RELEASE_VERSION: "v0.7.18"
SCAFFOLDING_RELEASE_VERSION: "v0.7.22"
GO111MODULE: on
GOFLAGS: -ldflags=-s -ldflags=-w
KOCACHE: ~/ko
Expand Down Expand Up @@ -101,19 +101,19 @@ jobs:
check-latest: true

# will use the latest release available for ko
- uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- uses: imranismail/setup-kustomize@2ba527d4d055ab63514ba50a99456fc35684947f # v2.1.0

- name: Install yq
uses: mikefarah/yq@4839dbbf80445070a31c7a9c1055da527db2d5ee # v4.44.6
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd # v4.45.1

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
uses: chainguard-dev/actions/setup-mirror@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
with:
mirror: mirror.gcr.io

- uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da
- uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a

- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
Expand Down Expand Up @@ -143,4 +143,4 @@ jobs:

- name: Collect diagnostics
if: ${{ failure() }}
uses: chainguard-dev/actions/kind-diag@29fb6e979a0b3efc79748a17e8cec08d0594cbfd # main
uses: chainguard-dev/actions/kind-diag@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
12 changes: 6 additions & 6 deletions .github/workflows/kind-cluster-image-policy-trustroot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

env:
KO_DOCKER_REPO: "registry.local:5000/policy-controller"
SCAFFOLDING_RELEASE_VERSION: "v0.7.18"
SCAFFOLDING_RELEASE_VERSION: "v0.7.22"
GO111MODULE: on
GOFLAGS: -ldflags=-s -ldflags=-w
KOCACHE: ~/ko
Expand Down Expand Up @@ -106,19 +106,19 @@ jobs:
check-latest: true

# will use the latest release available for ko
- uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- uses: imranismail/setup-kustomize@2ba527d4d055ab63514ba50a99456fc35684947f # v2.1.0

- name: Install yq
uses: mikefarah/yq@4839dbbf80445070a31c7a9c1055da527db2d5ee # v4.44.6
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd # v4.45.1

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
uses: chainguard-dev/actions/setup-mirror@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
with:
mirror: mirror.gcr.io

- uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da
- uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a

- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
Expand Down Expand Up @@ -150,4 +150,4 @@ jobs:

- name: Collect diagnostics
if: ${{ failure() }}
uses: chainguard-dev/actions/kind-diag@29fb6e979a0b3efc79748a17e8cec08d0594cbfd # main
uses: chainguard-dev/actions/kind-diag@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
12 changes: 6 additions & 6 deletions .github/workflows/kind-cluster-image-policy-tsa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

env:
KO_DOCKER_REPO: "registry.local:5000/policy-controller"
SCAFFOLDING_RELEASE_VERSION: "v0.7.18"
SCAFFOLDING_RELEASE_VERSION: "v0.7.22"
GO111MODULE: on
GOFLAGS: -ldflags=-s -ldflags=-w
KOCACHE: ~/ko
Expand Down Expand Up @@ -101,19 +101,19 @@ jobs:
check-latest: true

# will use the latest release available for ko
- uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- uses: imranismail/setup-kustomize@2ba527d4d055ab63514ba50a99456fc35684947f # v2.1.0

- name: Install yq
uses: mikefarah/yq@4839dbbf80445070a31c7a9c1055da527db2d5ee # v4.44.6
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd # v4.45.1

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
uses: chainguard-dev/actions/setup-mirror@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
with:
mirror: mirror.gcr.io

- uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v2
- uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v2

- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
Expand Down Expand Up @@ -179,4 +179,4 @@ jobs:

- name: Collect diagnostics
if: ${{ failure() }}
uses: chainguard-dev/actions/kind-diag@29fb6e979a0b3efc79748a17e8cec08d0594cbfd # main
uses: chainguard-dev/actions/kind-diag@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
12 changes: 6 additions & 6 deletions .github/workflows/kind-cluster-image-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

env:
KO_DOCKER_REPO: "registry.local:5000/policy-controller"
SCAFFOLDING_RELEASE_VERSION: "v0.7.18"
SCAFFOLDING_RELEASE_VERSION: "v0.7.22"
GO111MODULE: on
GOFLAGS: -ldflags=-s -ldflags=-w
KOCACHE: ~/ko
Expand Down Expand Up @@ -115,19 +115,19 @@ jobs:
check-latest: true

# will use the latest release available for ko
- uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- uses: imranismail/setup-kustomize@2ba527d4d055ab63514ba50a99456fc35684947f # v2.1.0

- name: Install yq
uses: mikefarah/yq@4839dbbf80445070a31c7a9c1055da527db2d5ee # v4.44.6
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd # v4.45.1

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
uses: chainguard-dev/actions/setup-mirror@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
with:
mirror: mirror.gcr.io

- uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da
- uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a

- name: Install cluster + sigstore
uses: sigstore/scaffolding/actions/setup@main
Expand Down Expand Up @@ -174,4 +174,4 @@ jobs:

- name: Collect diagnostics
if: ${{ failure() }}
uses: chainguard-dev/actions/kind-diag@29fb6e979a0b3efc79748a17e8cec08d0594cbfd # main
uses: chainguard-dev/actions/kind-diag@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
12 changes: 6 additions & 6 deletions .github/workflows/kind-e2e-cosigned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,22 @@ jobs:
go-version-file: './go.mod'
check-latest: true

- uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- uses: imranismail/setup-kustomize@2ba527d4d055ab63514ba50a99456fc35684947f # v2.1.0

- name: Install yq
uses: mikefarah/yq@4839dbbf80445070a31c7a9c1055da527db2d5ee # v4.44.6
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd # v4.45.1

- uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da
- uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
uses: chainguard-dev/actions/setup-mirror@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
with:
mirror: mirror.gcr.io

- name: Setup kind cluster
uses: chainguard-dev/actions/setup-kind@main
uses: chainguard-dev/actions/setup-kind@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
with:
k8s-version: ${{ matrix.k8s-version }}
cluster-suffix: c${{ github.run_id }}.local
Expand Down Expand Up @@ -170,4 +170,4 @@ jobs:

- name: Collect diagnostics
if: ${{ failure() }}
uses: chainguard-dev/actions/kind-diag@29fb6e979a0b3efc79748a17e8cec08d0594cbfd # main
uses: chainguard-dev/actions/kind-diag@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
12 changes: 6 additions & 6 deletions .github/workflows/kind-e2e-trustroot-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,22 @@ jobs:
go-version-file: './go.mod'
check-latest: true

- uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- uses: imranismail/setup-kustomize@2ba527d4d055ab63514ba50a99456fc35684947f # v2.1.0

- name: Install yq
uses: mikefarah/yq@4839dbbf80445070a31c7a9c1055da527db2d5ee # v4.44.6
uses: mikefarah/yq@8bf425b4d1344db7cd469a8d10a390876e0c77fd # v4.45.1

- uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da
- uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a

- name: Setup mirror
uses: chainguard-dev/actions/setup-mirror@main
uses: chainguard-dev/actions/setup-mirror@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
with:
mirror: mirror.gcr.io

- name: Setup kind cluster
uses: chainguard-dev/actions/setup-kind@main
uses: chainguard-dev/actions/setup-kind@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
with:
k8s-version: ${{ matrix.k8s-version }}
cluster-suffix: c${{ github.run_id }}.local
Expand Down Expand Up @@ -141,4 +141,4 @@ jobs:

- name: Collect diagnostics
if: ${{ failure() }}
uses: chainguard-dev/actions/kind-diag@29fb6e979a0b3efc79748a17e8cec08d0594cbfd # main
uses: chainguard-dev/actions/kind-diag@be6c67b5b374ed43d908ac017ff9b04c271ad3d8 # v1.0.3
24 changes: 24 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: golangci-lint
on:
push:
branches:
- main
pull_request:

permissions:
contents: read
pull-requests: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.0
2 changes: 1 addition & 1 deletion .github/workflows/policy-tester-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: |
make policy-tester

- uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da
- uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a

- name: Setup local registry
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
go-version-file: './go.mod'
check-latest: true

- uses: anchore/sbom-action/download-syft@df80a981bc6edbc4e220a492d3cbe9f5547a6e75 # v0.17.9
- uses: anchore/sbom-action/download-syft@f325610c9f50a54015d37c8d16cb3b0e2c8f4de0 # v0.18.0

- uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
- uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9

- name: Set LDFLAGS
id: ldflags
Expand All @@ -40,7 +40,7 @@ jobs:

- name: Run GoReleaser
id: run-goreleaser
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
with:
version: latest
args: release --snapshot --clean --timeout 120m --skip=sign
Expand Down
Loading
Loading