Skip to content

Commit a9b9eee

Browse files
chore: use new cr_checker and central on-pr workflow (#652)
1 parent ba57f72 commit a9b9eee

18 files changed

Lines changed: 220 additions & 27 deletions

File tree

.github/instructions/process_req.instructions.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<!-- ----------------------------------------------------------------------------
2+
Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
4+
See the NOTICE file(s) distributed with this work for additional
5+
information regarding copyright ownership.
6+
7+
This program and the accompanying materials are made available under the
8+
terms of the Apache License Version 2.0 which is available at
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
SPDX-License-Identifier: Apache-2.0
12+
----------------------------------------------------------------------------- -->
13+
114
---
215
applyTo: "docs/requirements/requirements.rst"
316
---

.github/pull_request_template.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<!-- ----------------------------------------------------------------------------
2+
Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
4+
See the NOTICE file(s) distributed with this work for additional
5+
information regarding copyright ownership.
6+
7+
This program and the accompanying materials are made available under the
8+
terms of the Apache License Version 2.0 which is available at
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
SPDX-License-Identifier: Apache-2.0
12+
----------------------------------------------------------------------------- -->
13+
114
<!--
215
Thank you for your contribution!
316
Please fill out this template to help us review your PR effectively.

.github/workflows/on-pr.yml

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,15 @@ on:
1818
types: [opened, reopened, synchronize]
1919
merge_group:
2020
types: [checks_requested]
21+
push:
22+
branches:
23+
- main
2124

22-
jobs:
23-
pre-commit:
24-
name: Run pre-commit checks
25-
runs-on: ubuntu-latest
26-
steps:
27-
28-
- name: 🛡️ Harden Runner
29-
if: github.repository_owner == 'eclipse-score'
30-
uses: step-security/harden-runner@v2.18.0
31-
with:
32-
egress-policy: audit
33-
34-
- name: Checkout repository
35-
uses: actions/checkout@v6
3625

37-
- name: Setup Bazel
38-
uses: bazel-contrib/setup-bazel@0.19.0
39-
with:
40-
disk-cache: true
41-
repository-cache: true
42-
bazelisk-cache: true
43-
44-
- name: Install pre-commit
45-
run: pip install pre-commit
26+
jobs:
27+
# Common S-CORE Workflow
4628

47-
- name: Run pre-commit checks
48-
run: pre-commit run -a
29+
common:
30+
uses: eclipse-score/cicd-workflows/.github/workflows/on-pr.yml@88cb460c47cb49efeb25cd7b73c8945dd1c5bce2 # on-pr/v0.0.0
31+
permissions:
32+
contents: read

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ repos:
7474
pass_filenames: false
7575

7676
# Ensure every file has a copyright header as per the Eclipse Foundation's requirements
77-
- repo: https://github.com/eclipse-score/tooling
78-
rev: 31ff8eee214e4e97ef8f5cb46e443273515b63ec
77+
# CR_CHECKER
78+
- repo: https://github.com/eclipse-score/tools
79+
rev: 7694bf823421b5542cd2f45239b8bdf205dbface
7980
hooks:
8081
- id: copyright

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<!-- ----------------------------------------------------------------------------
2+
Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
4+
See the NOTICE file(s) distributed with this work for additional
5+
information regarding copyright ownership.
6+
7+
This program and the accompanying materials are made available under the
8+
terms of the Apache License Version 2.0 which is available at
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
SPDX-License-Identifier: Apache-2.0
12+
----------------------------------------------------------------------------- -->
13+
114
# docs-as-code
215

316
Docs-as-code tooling for Eclipse S-CORE

docs/how-to/setup.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<!-- ----------------------------------------------------------------------------
2+
Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
4+
See the NOTICE file(s) distributed with this work for additional
5+
information regarding copyright ownership.
6+
7+
This program and the accompanying materials are made available under the
8+
terms of the Apache License Version 2.0 which is available at
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
SPDX-License-Identifier: Apache-2.0
12+
----------------------------------------------------------------------------- -->
13+
114
(setup)=
215
# Setup
316

docs/internals/benchmark_results.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<!-- ----------------------------------------------------------------------------
2+
Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
4+
See the NOTICE file(s) distributed with this work for additional
5+
information regarding copyright ownership.
6+
7+
This program and the accompanying materials are made available under the
8+
terms of the Apache License Version 2.0 which is available at
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
SPDX-License-Identifier: Apache-2.0
12+
----------------------------------------------------------------------------- -->
13+
114
# Bazel Mini Benchmark Results
215
**Runs per Scenario:** 3
316

docs/internals/decisions/001-test-results-in-workflow.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<!-- ----------------------------------------------------------------------------
2+
Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
4+
See the NOTICE file(s) distributed with this work for additional
5+
information regarding copyright ownership.
6+
7+
This program and the accompanying materials are made available under the
8+
terms of the Apache License Version 2.0 which is available at
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
SPDX-License-Identifier: Apache-2.0
12+
----------------------------------------------------------------------------- -->
13+
114
:::{dec_rec} Decision Record 001: Test results in Docs-As-Code Workflows
215
:id: dec_rec__dac__001_test_results_in_workflows
316
:version: 1

docs/internals/extensions/extension_guide.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<!-- ----------------------------------------------------------------------------
2+
Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
4+
See the NOTICE file(s) distributed with this work for additional
5+
information regarding copyright ownership.
6+
7+
This program and the accompanying materials are made available under the
8+
terms of the Apache License Version 2.0 which is available at
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
SPDX-License-Identifier: Apache-2.0
12+
----------------------------------------------------------------------------- -->
13+
114
(extension-guide)=
215
# Guide to Creating a Sphinx Extension
316

docs/internals/extensions/metamodel.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<!-- ----------------------------------------------------------------------------
2+
Copyright (c) 2026 Contributors to the Eclipse Foundation
3+
4+
See the NOTICE file(s) distributed with this work for additional
5+
information regarding copyright ownership.
6+
7+
This program and the accompanying materials are made available under the
8+
terms of the Apache License Version 2.0 which is available at
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
SPDX-License-Identifier: Apache-2.0
12+
----------------------------------------------------------------------------- -->
13+
114
(metamodel)=
215
# score_metamodel
316

0 commit comments

Comments
 (0)