Skip to content

Commit 36f5ce6

Browse files
committed
fix(ci): group dependabot updates by ecosystem
1 parent b59e263 commit 36f5ce6

7 files changed

Lines changed: 55 additions & 9 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"features": {
3+
"ghcr.io/devcontainers-extra/features/act:1": {
4+
"version": "1.0.15",
5+
"resolved": "ghcr.io/devcontainers-extra/features/act@sha256:db4a2194930d1f7ec62822d4f600dd2fa4aff3c33b98cdb0b578b64ffb10924c",
6+
"integrity": "sha256:db4a2194930d1f7ec62822d4f600dd2fa4aff3c33b98cdb0b578b64ffb10924c"
7+
},
8+
"ghcr.io/devcontainers/features/common-utils:2": {
9+
"version": "2.5.9",
10+
"resolved": "ghcr.io/devcontainers/features/common-utils@sha256:cb0c4d3c276f157eed17935747e364178d75fee17f55c4e129966f64633deb3a",
11+
"integrity": "sha256:cb0c4d3c276f157eed17935747e364178d75fee17f55c4e129966f64633deb3a"
12+
},
13+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
14+
"version": "1.10.0",
15+
"resolved": "ghcr.io/devcontainers/features/docker-outside-of-docker@sha256:c2c2cf829505ead8e4892c88c31b6594ae94a2bbb209e16e1fac456c1a3a624e",
16+
"integrity": "sha256:c2c2cf829505ead8e4892c88c31b6594ae94a2bbb209e16e1fac456c1a3a624e"
17+
},
18+
"ghcr.io/devcontainers/features/git:1": {
19+
"version": "1.3.5",
20+
"resolved": "ghcr.io/devcontainers/features/git@sha256:27905dc196c01f77d6ba8709cb82eeaf330b3b108772e2f02d1cd0d826de1251",
21+
"integrity": "sha256:27905dc196c01f77d6ba8709cb82eeaf330b3b108772e2f02d1cd0d826de1251"
22+
},
23+
"ghcr.io/devcontainers/features/github-cli:1": {
24+
"version": "1.1.0",
25+
"resolved": "ghcr.io/devcontainers/features/github-cli@sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671",
26+
"integrity": "sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671"
27+
}
28+
}
29+
}

.github/CODEOWNERS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
2+
# Last matching pattern wins. Only ONE listed owner needs to approve, not all.
3+
4+
# Default owner for everything.
5+
* @D3strukt0r
6+
7+
# Files Dependabot manages — @Team-MaRo/CI (incl. the bot user) can also review,
8+
# so the bot's auto-approval satisfies the code-owner requirement on these paths.
9+
# cargo
10+
/Cargo.toml @D3strukt0r @Team-MaRo/CI
11+
/Cargo.lock @D3strukt0r @Team-MaRo/CI
12+
# github-actions
13+
/.github/workflows/ @D3strukt0r @Team-MaRo/CI
14+
# devcontainers
15+
/.devcontainer/ @D3strukt0r @Team-MaRo/CI

.github/FUNDING.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ updates:
1717
day: monday
1818
time: '09:30'
1919
timezone: Europe/Zurich
20+
groups:
21+
github-actions:
22+
patterns:
23+
- "*"
2024

2125
- package-ecosystem: devcontainers
2226
directory: /
@@ -39,3 +43,8 @@ updates:
3943
day: monday
4044
time: '09:30'
4145
timezone: Europe/Zurich
46+
groups:
47+
cargo:
48+
update-types:
49+
- minor
50+
- patch

.github/workflows/dependabot-automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
3030
env:
3131
PR_URL: ${{ github.event.pull_request.html_url }}
32-
GITHUB_TOKEN: ${{ github.token }}
32+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
3333
run: |
3434
gh pr checkout "$PR_URL" # sets the upstream metadata for `gh pr status`
3535
if [ "$(gh pr status --json reviewDecision -q .currentBranch.reviewDecision)" != "APPROVED" ]; then

.github/workflows/greetings.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
greeting:
1717
name: Greet First-Time Contributors
1818
runs-on: ubuntu-latest
19+
if: github.actor != 'dependabot[bot]'
1920

2021
steps:
2122
- name: Greet First-Time Contributors

CODEOWNERS

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)