diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..08ce35c --- /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: docker + directory: /templates/builder + schedule: + interval: weekly + open-pull-requests-limit: 1 + groups: + docker: + patterns: + - "*" + update-types: + - minor + - patch + - major + + - package-ecosystem: cargo + directory: /base/code + schedule: + interval: weekly + open-pull-requests-limit: 1 + groups: + cargo: + 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 3ee148d..7f6e0c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,8 @@ jobs: build: 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' - name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00df5ab..0f13ee9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.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 - run: go test -v ./... @@ -19,7 +19,7 @@ jobs: needs: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: fetch-depth: 0 # ARCHITECTURE: Core's tree-sitter projection requires CGO in every