forked from eclipse-tractusx/item-relationship-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request eclipse-tractusx#633 from catenax-ng/main
Merge main
- Loading branch information
Showing
735 changed files
with
4,083,225 additions
and
301,540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
name: Report a Bug | ||
about: report bugs or unexpected behavior. | ||
--- | ||
|
||
<!-- | ||
Thanks for your contribution! Please fill out this template as good as possible. | ||
Important: Contributing Guidelines can be found here: https://eclipse-tractusx.github.io/docs/oss/how-to-contribute | ||
Checkout the repository README for process description. | ||
--> | ||
|
||
## Description | ||
<!-- A clear and concise description of what the bug is. Give as much hints as possible | ||
- On which Environment did the bug occur | ||
--> | ||
## Current behaviour | ||
|
||
## Expected behavior | ||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
## Steps to reproduce the Bug | ||
<!-- Please provide a clear procedure how to reproduce the bug. | ||
Important technical details: | ||
user information, screenshots, browser, app-version, environment, device, etc. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Propose a Story | ||
about: propose a new story, new task | ||
labels: Story | ||
--- | ||
<!-- | ||
A clear and concise description of what the desired story will look like. | ||
--> | ||
**As** ... , | ||
**I want** ... , | ||
**so that** ... . | ||
|
||
## Hints / Details | ||
<!-- | ||
Provide as much information regarding this request as possible | ||
--> | ||
- ... | ||
|
||
## Outcome / Acceptance Criteria | ||
<!-- | ||
Describe the Outcome & acceptance criterias the result of the story | ||
--> | ||
### Outcome | ||
- ... | ||
### Acceptance Criteria | ||
- ... | ||
|
||
## Out of Scope | ||
<!-- | ||
Describe the topics which are out of scope | ||
--> | ||
- ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# | ||
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
# Copyright (c) 2023 Contributors to the Eclipse Foundation | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Apache License, Version 2.0 which is available at | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
--- | ||
name: "Import GPG Key" | ||
description: "Imports a GPG key given in the input" | ||
inputs: | ||
gpg-private-key: | ||
required: true | ||
description: "The GPG Private Key in plain text. Can be a sub-key." | ||
runs: | ||
using: "composite" | ||
steps: | ||
# this is necessary because it creates gpg.conf, etc. | ||
- name: List Keys | ||
shell: bash | ||
run: | | ||
gpg -K --keyid-format=long | ||
- name: Import GPG Private Key | ||
shell: bash | ||
run: | | ||
echo "use-agent" >> ~/.gnupg/gpg.conf | ||
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf | ||
echo -e "${{ inputs.gpg-private-key }}" | gpg --import --batch | ||
for fpr in $(gpg --list-keys --with-colons | awk -F: '/fpr:/ {print $10}' | sort -u); | ||
do | ||
echo -e "5\\ny\\n" | gpg --batch --command-fd 0 --expert --edit-key $fpr trust; | ||
done |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: "IRS CodeQL config" | ||
|
||
query-filters: | ||
# Exclude "Unused classes and interfaces" | ||
- exclude: | ||
id: java/unused-reference-type | ||
# Exclude "Log Injection". This is a false positive, since IRS uses a log configuration which encodes all log messages in "irs-api/src/main/resources/log4j2.xml" | ||
- exclude: | ||
id: java/log-injection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
release-notes-file: CHANGELOG-temp.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: "Check if CHANGELOG file was modified in PR" | ||
|
||
on: | ||
pull_request: | ||
branches: main | ||
paths-ignore: | ||
- '**/*.md' | ||
- '**/*.txt' | ||
- '.config/**' | ||
- '.github/**' | ||
- 'docs/**' | ||
- 'local/**' | ||
|
||
jobs: | ||
analyze: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
|
||
name: changelog-check | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Check if CHANGELOG file was changed | ||
id: changelog-changed | ||
uses: tj-actions/changed-files@v40 | ||
with: | ||
files: | | ||
CHANGELOG.md | ||
- name: Echo result if CHANGELOG file was changed | ||
if: steps.changelog-changed.outputs.any_changed == 'true' | ||
run: | | ||
for file in ${{ steps.changelog-changed.outputs.all_changed_files }}; do | ||
echo "$file was changed" | ||
done | ||
- name: Find previous comment in PR | ||
if: steps.changelog-changed.outputs.any_changed == 'false' | ||
uses: peter-evans/find-comment@v2 | ||
id: find-comment | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
comment-author: 'github-actions[bot]' | ||
body-includes: CHANGELOG file was not updated! Make sure to include important changes. | ||
|
||
- name: Create or update comment in PR | ||
if: steps.changelog-changed.outputs.any_changed == 'false' | ||
uses: peter-evans/create-or-update-comment@v3 | ||
with: | ||
comment-id: ${{ steps.find-comment.outputs.comment-id }} | ||
issue-number: ${{ github.event.pull_request.number }} | ||
body: | | ||
CHANGELOG file was not updated! Make sure to include important changes. | ||
edit-mode: replace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: "Update DEPENDENCIES file" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
|
||
- name: Cache maven packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
|
||
- name: Generate Dependencies file | ||
run: mvn org.eclipse.dash:license-tool-plugin:license-check -Ddash.summary=DEPENDENCIES | ||
|
||
- name: Check if file was changed | ||
run: | | ||
if git diff --name-only ${{ github.base_ref }}...${{ github.sha }} | grep -e 'DEPENDENCIES'; then | ||
echo "The file was changed" | ||
echo "was_file_changed=true" >> "$GITHUB_ENV" | ||
git | ||
else | ||
echo "The file was not changed" | ||
echo "was_file_changed=false" >> "$GITHUB_ENV" | ||
fi | ||
- name: Configure Git | ||
if: ${{ env.was_file_changed }} == 'true' | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Create pull request | ||
if: ${{ env.was_file_changed }} == 'true' | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
add-paths: | | ||
DEPENDENCIES | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: chore/update-DEPENDENCIES | ||
commit-message: "chore(dependencies): Update DEPENDENCIES" | ||
delete-branch: true | ||
title: Update DEPENDENCIES | ||
body: | | ||
This PR updates the DEPENDENCIES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.