Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ updates:
directory: "/"
schedule:
interval: "daily"
cooldown:
default-days: 3
groups:
all:
update-types:
Expand All @@ -16,6 +18,8 @@ updates:
directory: "./"
schedule:
interval: "daily"
cooldown:
default-days: 3
groups:
all:
update-types:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@ name: Action Lint
on:
pull_request:
branches: ['main']
paths:
- '.github/workflows/**'
- '.github/actions/**'

push:
branches: ['main']
paths:
- '.github/workflows/**'
- '.github/actions/**'

permissions: {}

Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/presubmit-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
egress-policy: audit

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
Expand All @@ -40,26 +42,29 @@ jobs:
- name: Check default permissions
env:
GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}
REPO_NAME: ${{ github.event.repository.name }}
run: |
go run . repo \
--organization ${{ github.repository_owner }} \
--repository ${{ github.event.repository.name }} \
--organization "${GITHUB_REPOSITORY_OWNER}" \
--repository "${REPO_NAME}" \
default-permissions

- name: Check for deploy keys
env:
GH_TOKEN: ${{ steps.octo-sts.outputs.token }}
REPO_NAME: ${{ github.event.repository.name }}
run: |
go run . repo \
--organization ${{ github.repository_owner }} \
--repository ${{ github.event.repository.name }} \
--organization "${GITHUB_REPOSITORY_OWNER}" \
--repository "${REPO_NAME}" \
deploy-keys

- name: Check branch protections
env:
GH_TOKEN: ${{ steps.octo-sts.outputs.token }}
REPO_NAME: ${{ github.event.repository.name }}
run: |
go run . repo \
--organization ${{ github.repository_owner }} \
--repository ${{ github.event.repository.name }} \
--organization "${GITHUB_REPOSITORY_OWNER}" \
--repository "${REPO_NAME}" \
branch-protections
4 changes: 4 additions & 0 deletions .github/workflows/zizmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ on:
paths:
- '.github/workflows/**'
- '.github/actions/**'
- '.github/dependabot.yaml'
- '.github/zizmor.yml'
push:
branches: ['main']
paths:
- '.github/workflows/**'
- '.github/actions/**'
- '.github/dependabot.yaml'
- '.github/zizmor.yml'

permissions: {}

Expand Down
15 changes: 15 additions & 0 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2026 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0

rules:
# Paired with `cooldown.default-days: 3` in .github/dependabot.yaml.
dependabot-cooldown:
config:
days: 3
# Cosmetic pedantic-only findings — suppressed across the campaign.
anonymous-definition:
disable: true
undocumented-permissions:
disable: true
concurrency-limits:
disable: true
Loading