Skip to content

Commit 1cef60a

Browse files
Update GitHub workflows for improved scheduling and cleanup (#88)
* chore: update GitHub workflows and configurations for improved scheduling and cleanup * hups * Revert "chore(deps): bump aspect_rules_lint from 1.10.2 to 2.6.0 (#76)" This reverts commit 0e7d013. * Revert "chore(deps): bump rules_python from 1.8.3 to 2.0.2 (#77)" This reverts commit f2068f6. * update lockfile
1 parent 0e7d013 commit 1cef60a

10 files changed

Lines changed: 2930 additions & 3115 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: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,20 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13-
name: pre-commit
13+
14+
name: On PR
1415
on:
1516
pull_request:
1617
types: [opened, reopened, synchronize]
18+
merge_group:
19+
types: [checks_requested]
20+
21+
permissions:
22+
contents: read
23+
1724
jobs:
18-
self_test:
19-
name: 🔬 Self Test
25+
pre-commit:
26+
name: 🔬 Pre-Commit
2027
runs-on: ubuntu-latest
2128
steps:
2229
- name: 📥 Check out
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,15 @@
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
1313

14-
name: License check preparation
14+
name: On PR Target
1515
on:
1616
pull_request_target:
1717
types: [opened, reopened, synchronize]
18-
merge_group:
19-
types: [checks_requested]
2018

2119
permissions:
2220
pull-requests: write
2321
issues: write
2422

25-
2623
jobs:
2724
license-check:
2825
uses: eclipse-score/cicd-workflows/.github/workflows/license-check.yml@829b3e11ccbf924a5782f7bfed647cb1619fdf78 # v0.0.1

.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

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module(
1414
name = "cpp_rust_template_repository",
1515
)
1616

17-
bazel_dep(name = "rules_python", version = "2.0.2", dev_dependency = True)
17+
bazel_dep(name = "rules_python", version = "1.8.3", dev_dependency = True)
1818

1919
# Python 3.12: Required for testing infrastructure and code generation tools
2020
PYTHON_VERSION = "3.12"
@@ -71,7 +71,7 @@ register_toolchains("@llvm_toolchain//:all")
7171

7272
# tooling
7373
bazel_dep(name = "score_tooling", version = "1.2.0", dev_dependency = True)
74-
bazel_dep(name = "aspect_rules_lint", version = "2.6.0", dev_dependency = True)
74+
bazel_dep(name = "aspect_rules_lint", version = "1.10.2", dev_dependency = True)
7575
bazel_dep(name = "buildifier_prebuilt", version = "8.5.1.2", dev_dependency = True)
7676

7777
#docs-as-code

0 commit comments

Comments
 (0)