Skip to content

Commit 1402225

Browse files
committed
improve dependabot configuration
1 parent 969323f commit 1402225

3 files changed

Lines changed: 24 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,31 @@ updates:
1010
- package-ecosystem: "github-actions"
1111
directory: "/"
1212
schedule:
13-
interval: "daily"
13+
interval: "weekly"
1414
cooldown:
1515
default-days: 7
16-
16+
ignore:
17+
# Major-pinned actions: only surface major updates.
18+
- dependency-name: "actions/*"
19+
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
20+
- dependency-name: "codecov/codecov-action"
21+
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
22+
- dependency-name: "github/codeql-action"
23+
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
24+
groups:
25+
# Bundle all action updates into a single PR to review at once
26+
github-actions:
27+
patterns: ["*"]
28+
1729
# Maintain dependencies for cargo
1830
- package-ecosystem: cargo
1931
directory: "/"
2032
schedule:
21-
interval: "daily"
33+
interval: "weekly"
2234
target-branch: "main"
2335
cooldown:
2436
default-days: 7
37+
groups:
38+
# Bundle all cargo updates into a single PR to review at once
39+
cargo:
40+
patterns: ["*"]

.github/workflows/docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ jobs:
2929
fi
3030
3131
- name: Set up QEMU
32-
uses: docker/setup-qemu-action@v4
32+
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
3333

3434
- name: Set up Docker Buildx
35-
uses: docker/setup-buildx-action@v4
35+
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
3636

3737
- name: Login to GitHub Container Registry
38-
uses: docker/login-action@v4
38+
uses: docker/login-action@abd2ef45e78c5afb21d64d4ca52ee8550d9572c7 # v4.5.1
3939
with:
4040
registry: ghcr.io
4141
username: GyulyVGC
4242
password: ${{ secrets.GITHUB_TOKEN }}
4343

4444
- name: Build and push
45-
uses: docker/build-push-action@v7
45+
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
4646
with:
4747
context: .
4848
platforms: linux/amd64

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ jobs:
411411
if-no-files-found: error
412412

413413
- name: Sign package artifacts
414-
uses: signpath/github-action-submit-signing-request@v2.2
414+
uses: signpath/github-action-submit-signing-request@b9d91eadd323de506c0c81cf0c7fe7438f3360fd # v2.2
415415
with:
416416
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
417417
organization-id: '3b533e02-73c3-4908-a018-d09a34498a6a'

0 commit comments

Comments
 (0)