Skip to content

Commit 8af1b9c

Browse files
committed

13 files changed

+237
-103
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ We as members, contributors, and leaders pledge to make participation in our
66
community a harassment-free experience for everyone, regardless of age, body
77
size, visible or invisible disability, ethnicity, sex characteristics, gender
88
identity and expression, level of experience, education, socio-economic status,
9-
nationality, personal appearance, race, religion, or sexual identity
10-
and orientation.
9+
nationality, personal appearance, race, caste, color, religion, or sexual
10+
identity and orientation.
1111

1212
We pledge to act and interact in ways that contribute to an open, welcoming,
1313
diverse, inclusive, and healthy community.
@@ -22,17 +22,17 @@ community include:
2222
* Giving and gracefully accepting constructive feedback
2323
* Accepting responsibility and apologizing to those affected by our mistakes,
2424
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
26-
overall community
25+
* Focusing on what is best not just for us as individuals, but for the overall
26+
community
2727

2828
Examples of unacceptable behavior include:
2929

30-
* The use of sexualized language or imagery, and sexual attention or
31-
advances of any kind
30+
* The use of sexualized language or imagery, and sexual attention or advances of
31+
any kind
3232
* Trolling, insulting or derogatory comments, and personal or political attacks
3333
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
35-
address, without their explicit permission
34+
* Publishing others' private information, such as a physical or email address,
35+
without their explicit permission
3636
* Other conduct which could reasonably be considered inappropriate in a
3737
professional setting
3838

@@ -52,7 +52,7 @@ decisions when appropriate.
5252

5353
This Code of Conduct applies within all community spaces, and also applies when
5454
an individual is officially representing the community in public spaces.
55-
Examples of representing our community include using an official e-mail address,
55+
Examples of representing our community include using an official email address,
5656
posting via an official social media account, or acting as an appointed
5757
representative at an online or offline event.
5858

@@ -81,15 +81,15 @@ behavior was inappropriate. A public apology may be requested.
8181

8282
### 2. Warning
8383

84-
**Community Impact**: A violation through a single incident or series
85-
of actions.
84+
**Community Impact**: A violation through a single incident or series of
85+
actions.
8686

8787
**Consequence**: A warning with consequences for continued behavior. No
8888
interaction with the people involved, including unsolicited interaction with
8989
those enforcing the Code of Conduct, for a specified period of time. This
9090
includes avoiding interactions in community spaces as well as external channels
91-
like social media. Violating these terms may lead to a temporary or
92-
permanent ban.
91+
like social media. Violating these terms may lead to a temporary or permanent
92+
ban.
9393

9494
### 3. Temporary Ban
9595

@@ -105,23 +105,27 @@ Violating these terms may lead to a permanent ban.
105105
### 4. Permanent Ban
106106

107107
**Community Impact**: Demonstrating a pattern of violation of community
108-
standards, including sustained inappropriate behavior, harassment of an
108+
standards, including sustained inappropriate behavior, harassment of an
109109
individual, or aggression toward or disparagement of classes of individuals.
110110

111-
**Consequence**: A permanent ban from any sort of public interaction within
112-
the community.
111+
**Consequence**: A permanent ban from any sort of public interaction within the
112+
community.
113113

114114
## Attribution
115115

116116
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
117-
version 2.0, available at
118-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
117+
version 2.1, available at
118+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
119119

120-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
121-
enforcement ladder](https://github.com/mozilla/diversity).
122-
123-
[homepage]: https://www.contributor-covenant.org
120+
Community Impact Guidelines were inspired by
121+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
124122

125123
For answers to common questions about this code of conduct, see the FAQ at
126-
https://www.contributor-covenant.org/faq. Translations are available at
127-
https://www.contributor-covenant.org/translations.
124+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
125+
[https://www.contributor-covenant.org/translations][translations].
126+
127+
[homepage]: https://www.contributor-covenant.org
128+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
129+
[Mozilla CoC]: https://github.com/mozilla/diversity
130+
[FAQ]: https://www.contributor-covenant.org/faq
131+
[translations]: https://www.contributor-covenant.org/translations

.github/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[milestones]: https://github.com/it-at-m/refarch-templates/milestones
55
[project-board]: https://github.com/orgs/it-at-m/projects/16
66
[documentation]: https://refarch-templates.oss.muenchen.de/
7+
[contribution-documentation]: https://refarch-templates.oss.muenchen.de/contribute.html
78
[itm-opensource]: https://opensource.muenchen.de/
89
[license]: ../LICENSE
910
[code-of-conduct]: ./CODE_OF_CONDUCT.md
@@ -52,11 +53,7 @@ We often also plan our issues in [milestones][milestones].
5253

5354
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
5455

55-
If you have a suggestion that would make this better, please [open an issue][new-issue] and fill out the appropriate issue form with as much information as possible.
56-
If you want to work on a solution, fork the repo and create a pull request.
57-
Don't forget to give the project a star! Thanks again!
58-
59-
More about this in the [CODE_OF_CONDUCT][code-of-conduct] file.
56+
To learn more about how you can contribute, please read our [contribution documentation][contribution-documentation].
6057

6158
## License
6259

.github/pull_request_template.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Pull Request
2+
3+
<!-- Links -->
4+
[documentation-link]: https://refarch-templates.oss.muenchen.de/document.html#writing-the-documentation
5+
[code-quality-link]: https://refarch-templates.oss.muenchen.de/develop.html#code-quality
6+
[refarch-create-issue-link]: https://github.com/it-at-m/refarch/issues/new/choose
7+
8+
## Changes
9+
10+
- ...
11+
- ...
12+
13+
## Reference
14+
15+
Issue: #XXX
16+
17+
## Checklist
18+
19+
**Note**: If some checklist items are not relevant for your PR, just remove them.
20+
21+
### General
22+
23+
- [ ] ~~I have read the Contribution Guidelines (TBD)~~
24+
- [ ] Met all acceptance criteria of the issue
25+
- [ ] Added meaningful PR title and list of changes in the description
26+
- [ ] Created / Updated [documentation][documentation-link] (in English)
27+
- [ ] Opened follow-up issue in [refarch repository][refarch-create-issue-link] (if applicable)
28+
29+
### Code
30+
31+
- [ ] Wrote code and comments in English
32+
- [ ] Added unit tests
33+
- [ ] Removed waste on branch (e.g. `console.log`), see [code quality tooling][code-quality-link]
34+
35+
#### Frontend / WebComponent
36+
37+
- [ ] Added component tests (if component was changed)
38+
- [ ] Considered and tested accessibility (if UI change was made)
39+
- [ ] Checked / Updated Node.js engine requirements in `package.json` (if dependencies were changed)
40+
41+
#### Backend / EAI
42+
43+
- [ ] Added integration tests
44+
- [ ] Updated database migration scripts (if changes to model were made)
45+
- [ ] Added Swagger API annotations (if changes to API was made)
46+
- [ ] Checked Spring Boot version matching Camel version in `pom.xml` (if Camel version was bumped)
47+
48+
### Development Stack
49+
50+
- [ ] Approved image change company internal (if Docker image was added or version was modified)
51+
- [ ] Checked functionality of Docker stack (if Docker stack was modified or images were changed)
52+
53+
## Screenshots (if UI was changed)
File renamed without changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Dependency Review
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
dependency-review:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: it-at-m/lhm_actions/action-templates/actions/action-dependency-review@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5

.github/workflows/dependency_review.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/deploy-docs.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,31 @@
11
name: Deploy documentation website
22

33
on:
4-
# Runs on pushes targeting the `main` branch
4+
# Runs on pushes to any branch when changes are made to docs or workflow
55
push:
6-
branches: [main]
76
paths:
87
- "docs/**"
9-
- ".github/workflows/deploy-docs.yml" # define the concrete paths on which a change triggers this action, e.g. backend/**
8+
- ".github/workflows/deploy-docs.yml"
9+
10+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
17+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
18+
concurrency:
19+
group: pages
20+
cancel-in-progress: false
1021

1122
jobs:
12-
deploy-pages:
13-
uses: it-at-m/.github/.github/workflows/deploy-pages.yml@main
23+
deploy-docs:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- id: build_docs
27+
uses: it-at-m/lhm_actions/action-templates/actions/action-build-docs@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5
28+
- id: deploy_docs
29+
# Only deploy documentation from the main branch to prevent unauthorized changes
30+
31+
uses: it-at-m/lhm_actions/action-templates/actions/action-deploy-docs@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5

.github/workflows/maven-node-build.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: build all
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- "main"
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
env:
13+
TZ: Europe/Berlin # timezone
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
include: # hier müssen die Pfade angegeben werden
18+
- app-path: captchaservice-backend
19+
20+
steps:
21+
- uses: it-at-m/lhm_actions/action-templates/actions/action-checkout@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5
22+
- if: ${{hashFiles(format('./{0}/package.json', matrix.app-path))!=null}}
23+
id: node
24+
uses: it-at-m/lhm_actions/action-templates/actions/action-npm-build@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5
25+
with:
26+
app-path: "${{ matrix.app-path }}"
27+
- if: ${{hashFiles(format('./{0}/pom.xml', matrix.app-path))!=null}}
28+
id: maven
29+
uses: it-at-m/lhm_actions/action-templates/actions/action-maven-build@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5
30+
with:
31+
app-path: "${{ matrix.app-path }}"
32+
- if: github.ref == 'refs/heads/main'
33+
uses: it-at-m/lhm_actions/action-templates/actions/action-build-image@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5
34+
with:
35+
path: "${{ matrix.app-path }}"
36+
image-name: "${{ matrix.app-path }}"
37+
artifact-name: ${{join(steps.*.outputs.artifact-name)}}
38+
registry-password: ${{ secrets.GITHUB_TOKEN }}
39+
registry-username: ${{ github.actor }}

.github/workflows/release-maven-image.yaml renamed to .github/workflows/maven-release.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
TZ: Europe/Berlin # timezone
2929
steps:
3030
- id: maven-release-step
31-
uses: it-at-m/.github/.github/actions/action-maven-release@main
31+
uses: it-at-m/lhm_actions/action-templates/actions/action-maven-release@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5
3232
with:
3333
app-path: "/${{ github.event.inputs.app-path }}"
3434
releaseVersion: "${{ github.event.inputs.releaseVersion }}"
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
needs: release-maven
4444
steps:
45-
- uses: it-at-m/.github/.github/actions/action-build-image@main
45+
- uses: it-at-m/lhm_actions/action-templates/actions/action-build-image@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5
4646
with:
4747
path: "${{ github.event.inputs.app-path }}"
4848
image-name: "${{ github.event.inputs.app-path }}"
@@ -57,16 +57,8 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959
- name: Download a single artifact
60-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
60+
uses: it-at-m/lhm_actions/action-templates/actions/action-create-github-release@6b19f8dd2bee160bee82bde4fa04ac9f6c1d5e1e # v1.0.5
6161
with:
62-
name: ${{ needs.release-maven.outputs.ARTIFACT_NAME }}
63-
- name: Create GitHub Release
64-
id: create_release
65-
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
66-
with:
67-
tag_name: ${{needs.release-maven.outputs.MVN_ARTIFACT_ID}}-${{ github.event.inputs.releaseVersion }}
68-
draft: false
69-
prerelease: false
70-
generate_release_notes: false
71-
files: |
72-
${{ github.event.inputs.app-path }}/target/*.jar
62+
artifact-name: ${{ needs.release-maven.outputs.ARTIFACT_NAME }}
63+
tag-name: ${{needs.release-maven.outputs.MVN_ARTIFACT_ID}}-${{ github.event.inputs.releaseVersion }}
64+
artifact-path: ${{ github.event.inputs.app-path }}/target/*.jar

0 commit comments

Comments
 (0)