Skip to content

Commit 6a791e6

Browse files
chore: update GitHub workflows and configurations for improved scheduling and cleanup
1 parent 0e7d013 commit 6a791e6

8 files changed

Lines changed: 47 additions & 137 deletions

File tree

.github/dependabot.yml

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,60 +15,58 @@ updates:
1515
- package-ecosystem: github-actions
1616
directory: /
1717
schedule:
18-
interval: daily
18+
interval: weekly
1919
groups:
20-
all-in-one:
20+
github-actions:
2121
patterns:
2222
- "*"
23-
update-types:
24-
- "minor"
25-
- "patch"
23+
commit-message:
24+
prefix: chore(github-actions)
2625

2726
- package-ecosystem: cargo
2827
directory: /
2928
schedule:
30-
interval: daily
29+
interval: weekly
3130
groups:
32-
all-in-one:
31+
cargo:
3332
patterns:
3433
- "*"
35-
update-types:
36-
- "minor"
37-
- "patch"
34+
commit-message:
35+
prefix: chore(cargo)
3836

3937
- package-ecosystem: pip
4038
directory: /
4139
schedule:
42-
interval: daily
40+
interval: weekly
4341
groups:
44-
all-in-one:
42+
pip:
4543
patterns:
4644
- "*"
47-
update-types:
48-
- "minor"
49-
- "patch"
45+
commit-message:
46+
prefix: chore(pip)
5047

5148
- package-ecosystem: docker
5249
directories:
5350
- /.devcontainer
5451
schedule:
5552
interval: daily
5653
groups:
57-
all-in-one:
54+
docker:
5855
patterns:
5956
- "*"
6057
update-types:
6158
- "minor"
6259
- "patch"
60+
commit-message:
61+
prefix: chore(docker)
6362

64-
- package-ecosystem: bazel
63+
- package-ecosystem: pre-commit
6564
directory: /
6665
schedule:
67-
interval: daily
66+
interval: weekly
6867
groups:
69-
all-in-one:
68+
pre-commit:
7069
patterns:
7170
- "*"
72-
update-types:
73-
- "minor"
74-
- "patch"
71+
commit-message:
72+
prefix: chore(pre-commit)

.github/workflows/bzlmod-lock.yml

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

.github/workflows/copyright.yml

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

.github/workflows/gitlint.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14-
name: Documentation Cleanup
14+
name: Daily
1515

1616
permissions:
1717
contents: write
@@ -24,6 +24,4 @@ on:
2424

2525
jobs:
2626
docs-cleanup:
27-
uses: eclipse-score/cicd-workflows/.github/workflows/docs-cleanup.yml@829b3e11ccbf924a5782f7bfed647cb1619fdf78 # v0.0.1
28-
secrets:
29-
token: ${{ secrets.GITHUB_TOKEN }}
27+
uses: eclipse-score/cicd-workflows/.github/workflows/daily.yml@420415673830d4711ac818ee8524204d6d0039d6 # v2026-06-10
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14-
name: License check preparation
14+
name: On PR
1515
on:
1616
pull_request_target:
1717
types: [opened, reopened, synchronize]
@@ -31,3 +31,14 @@ jobs:
3131
bazel-target: "run --lockfile_mode=error //:license-check"
3232
secrets:
3333
dash-api-token: ${{ secrets.ECLIPSE_GITLAB_API_TOKEN }}
34+
35+
pre-commit:
36+
name: 🔬 Pre-Commit
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: 📥 Check out
40+
uses: actions/checkout@v6
41+
- name: 🛠️ Install pre-commit
42+
run: pip install pre-commit
43+
- name: ✅ Run pre-commit
44+
run: pre-commit run --all-files

.github/workflows/pre-commit.yml

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

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,16 @@ repos:
3737
rev: 21ca5323a9c87ee37a434e0ca908efc0a89daa07 # v0.21.0
3838
hooks:
3939
- id: yamlfmt
40+
41+
- repo: local
42+
hooks:
43+
- id: bzlmod-tidy
44+
name: bazel mod tidy
45+
entry: bazel mod tidy
46+
language: system
47+
pass_filenames: false
48+
- id: bzlmod-lockfile
49+
name: bazel mod deps lockfile check
50+
entry: bazel mod deps --lockfile_mode=error
51+
language: system
52+
pass_filenames: false

0 commit comments

Comments
 (0)