Skip to content

Commit d12ced3

Browse files
Initial commit
0 parents  commit d12ced3

36 files changed

+1401
-0
lines changed

.bazelrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
build --java_language_version=17
2+
build --tool_java_language_version=17
3+
build --java_runtime_version=remotejdk_17
4+
build --tool_java_runtime_version=remotejdk_17
5+
6+
test --test_output=errors
7+
8+
common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/
9+
common --registry=https://bcr.bazel.build

.bazelversion

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

.github/CODEOWNERS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Comment out as not in score yet
2+
# * @eclipse-score/infrastructure-tooling-community
3+
# .* @eclipse-score/infrastructure-tooling-community
4+
# .github/CODEOWNERS @eclipse-score/technical-lead
5+
6+
# in separate <module_name> repositories:
7+
#
8+
# /docs @eclipse-score/process-community
9+
# /docs/manual @eclipse-score/<module_name>/safety-manager
10+
# /docs/release @eclipse-score/<module_name>/quality-manager @eclipse-score/<module_name>/module-lead
11+
# /docs/safety_plan @eclipse-score/<module_name>/safety-manager @eclipse-score/<module_name>/module-lead
12+
# /docs/safety_analysis @eclipse-score/<module_name>/safety-manager
13+
# /docs/verification @eclipse-score/<module_name>/quality-manager @eclipse-score/<module_name>/safety-manager
14+
# /components @eclipse-score/<module_name>/technical-lead
15+
# /components/*/ @eclipse-score/<module_name>/automotive-score-committers

.github/ISSUE_TEMPLATE/bug_fix.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Bugfix
3+
about: 'Issue to track a bugfix'
4+
title: 'Bugfix: Your bugfix title'
5+
labels: 'codeowner_review'
6+
assignees: ''
7+
8+
---
9+
10+
> [!IMPORTANT]
11+
> Make sure to link this issue with the PR for your bugfix.
12+
13+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Improvement
3+
about: 'Issue to track a improvement'
4+
title: 'Improvement: Your improvement title'
5+
labels: 'codeowner_review'
6+
assignees: ''
7+
8+
---
9+
10+
> [!IMPORTANT]
11+
> Make sure to link this issue with the PR for your improvement.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Bugfix
2+
3+
> [!IMPORTANT]
4+
> Use this template only for bugfixes that do not influence topics covered by contribution requests or improvements.
5+
6+
> [!CAUTION]
7+
> Make sure to submit your pull-request as **Draft** until you are ready to have it reviewed by the Committers.
8+
9+
## Description
10+
11+
[A short description of the bug being fixed by the contribution.]
12+
13+
## Related ticket
14+
15+
> [!IMPORTANT]
16+
> Please replace `[ISSUE-NUMBER]` with the issue-number that tracks this bug fix. If there is no such
17+
> ticket yet, create one via [this issue template](../ISSUE_TEMPLATE/new?template=bug_fix.md).
18+
19+
closes [ISSUE-NUMBER] (bugfix ticket)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Improvement
2+
3+
> [!IMPORTANT]
4+
> Use this template only for improvement that do not influence topics covered by contribution requests or bug fixes.
5+
6+
> [!CAUTION]
7+
> Make sure to submit your pull-request as **Draft** until you are ready to have it reviewed by the Committers.
8+
9+
## Description
10+
11+
[A short description of the improvement being addressed by the contribution.]
12+
13+
## Related ticket
14+
15+
> [!IMPORTANT]
16+
> Please replace `[ISSUE-NUMBER]` with the issue-number that tracks this bug fix. If there is no such
17+
> ticket yet, create one via [this issue template](../ISSUE_TEMPLATE/new?template=improvement.md).
18+
19+
closes [ISSUE-NUMBER] (improvement ticket)

.github/actions/gitlint/action.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2024 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: "Gitlint Action"
15+
description: "An action to install and run Gitlint on PR commits"
16+
inputs:
17+
pr-number:
18+
description: "Pull Request number used to fetch commits"
19+
required: true
20+
base-branch:
21+
description: "Base branch to compare commits against (default: origin/main)"
22+
default: "origin/main"
23+
required: false
24+
runs:
25+
using: "docker"
26+
image: "jorisroovers/gitlint:0.19.1"
27+
entrypoint: /bin/sh
28+
args:
29+
- -c
30+
- |
31+
git config --global --add safe.directory /github/workspace && \
32+
git fetch origin +refs/heads/main:refs/remotes/origin/main && \
33+
git fetch origin +refs/pull/${{ inputs.pr-number }}/head && \
34+
if ! gitlint --commits ${{ inputs.base-branch }}..HEAD; then \
35+
echo -e "\nWARNING: Your commit message does not follow the required format." && \
36+
echo "Formatting rules: https://eclipse-score.github.io/score/process/guidance/git/index.html" && \
37+
echo -e "To fix your commit message, run:\n" && \
38+
echo " git commit --amend" && \
39+
echo "Then update your commit (fix gitlint warnings). Finally, force-push:" && \
40+
echo " git push --force-with-lease" && \
41+
exit 1; \
42+
fi

.github/workflows/copyright.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2024 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: Copyright checks
15+
on:
16+
pull_request:
17+
types: [opened, reopened, synchronize]
18+
merge_group:
19+
types: [checks_requested]
20+
jobs:
21+
copyright-check:
22+
uses: eclipse-score/cicd-workflows/.github/workflows/copyright.yml@main
23+
with:
24+
bazel-target: "run //:copyright.check"

.github/workflows/docs-cleanup.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2025 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: Documentation Cleanup
15+
16+
permissions:
17+
contents: write
18+
pages: write
19+
id-token: write
20+
21+
on:
22+
schedule:
23+
- cron: '0 0 * * *' # Runs every day at midnight UTC
24+
25+
jobs:
26+
docs-cleanup:
27+
uses: eclipse-score/cicd-workflows/.github/workflows/docs-cleanup.yml@main
28+
secrets:
29+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)