Skip to content

Commit 3096aec

Browse files
committed
Add copyright check
1 parent 2669dee commit 3096aec

19 files changed

Lines changed: 1962 additions & 123 deletions

.bazelversion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8.3.1

.github/workflows/checks.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
14+
name: S-CORE CI Checks
15+
16+
on:
17+
pull_request:
18+
push:
19+
branches:
20+
- main
21+
22+
jobs:
23+
copyright-check:
24+
uses: eclipse-score/cicd-workflows/.github/workflows/copyright.yml@main
25+
bzlmod-lock:
26+
uses: eclipse-score/cicd-workflows/.github/workflows/bzlmod-lock-check.yml@c1c90b1a82a1fab0fc202979dde6686b2162d5a8 # v0.0.0
27+
with:
28+
working-directory: .

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@
1212
# *******************************************************************************
1313

1414
# Bazel
15-
MODULE.bazel.lock
1615
bazel-*

BUILD

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
load("@score_tooling//:defs.bzl", "copyright_checker")
14+
15+
copyright_checker(
16+
name = "copyright",
17+
srcs = [
18+
".github",
19+
"docs",
20+
"examples",
21+
"packages",
22+
"rules",
23+
"templates",
24+
"tools",
25+
"//:BUILD",
26+
"//:MODULE.bazel",
27+
],
28+
config = "@score_tooling//cr_checker/resources:config",
29+
template = "@score_tooling//cr_checker/resources:templates",
30+
visibility = ["//visibility:public"],
31+
)

MODULE.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ bazel_dep(name = "score_bazel_platforms", version = "0.1.1")
3232
# C++ Rules for Bazel
3333
# *******************************************************************************
3434
bazel_dep(name = "rules_cc", version = "0.2.14")
35+
36+
# *******************************************************************************
37+
# Tools for chechin
38+
# *******************************************************************************
39+
bazel_dep(name = "score_tooling", version = "1.1.2")

MODULE.bazel.lock

Lines changed: 862 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# *******************************************************************************
2-
# Copyright (c) 2025 Contributors to the Eclipse Foundation
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
33
#
44
# See the NOTICE file(s) distributed with this work for additional
55
# information regarding copyright ownership.
@@ -10,7 +10,6 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13-
1413
project = "S-CORE Bazel C/C++ Toolchain configurations"
1514
project_url = "https://eclipse-score.github.io/bazel_cpp_toolchains"
1615
version = "0.1"

docs/index.rst

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
..
2-
*******************************************************************************
3-
Copyright (c) 2025 Contributors to the Eclipse Foundation
4-
5-
See the NOTICE file(s) distributed with this work for additional
6-
information regarding copyright ownership.
7-
8-
This program and the accompanying materials are made available under the
9-
terms of the Apache License Version 2.0 which is available at
10-
https://www.apache.org/licenses/LICENSE-2.0
11-
12-
SPDX-License-Identifier: Apache-2.0
13-
*******************************************************************************
14-
2+
# *******************************************************************************
3+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
4+
#
5+
# See the NOTICE file(s) distributed with this work for additional
6+
# information regarding copyright ownership.
7+
#
8+
# This program and the accompanying materials are made available under the
9+
# terms of the Apache License Version 2.0 which is available at
10+
# https://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# SPDX-License-Identifier: Apache-2.0
13+
# *******************************************************************************
1514
Bazel C/C++ Toolchain Config Documentation
1615
============================
1716

0 commit comments

Comments
 (0)