diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..03f07bf --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,67 @@ +# Dependency updates for every ecosystem this repository ships. +# +# Each ecosystem is ONE catch-all group covering minor, patch and major, with +# open-pull-requests-limit 1, so a week yields at most one pull request per +# ecosystem instead of one per dependency. Dependabot cannot group across +# ecosystems, so the number of entries below is the floor on weekly PRs. +# +# The github-actions entry exists because every action is pinned by commit SHA; +# nothing else would ever move those pins. +version: 2 + +updates: + - package-ecosystem: gomod + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 1 + groups: + gomod: + patterns: + - "*" + update-types: + - minor + - patch + - major + + - package-ecosystem: pip + directory: /base/code + schedule: + interval: weekly + open-pull-requests-limit: 1 + groups: + pip: + patterns: + - "*" + update-types: + - minor + - patch + - major + + - package-ecosystem: docker + directory: /templates/builder + schedule: + interval: weekly + open-pull-requests-limit: 1 + groups: + docker: + patterns: + - "*" + update-types: + - minor + - patch + - major + + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 1 + groups: + github-actions: + patterns: + - "*" + update-types: + - minor + - patch + - major diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6a6655..784ff39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,8 @@ jobs: race: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version-file: go.mod # Same reason as the shared workflow: setup-go's cache tar corrupts diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 6d15934..ca2968e 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -9,8 +9,8 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 with: go-version-file: go.mod # go.mod pins a `toolchain` newer than the `go` line, so setup-go @@ -29,7 +29,7 @@ jobs: needs: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: fetch-depth: 0 # ARCHITECTURE: the shared core release workflow runs goreleaser-action