Skip to content

Commit

Permalink
🎨 format YAML-files in build process
Browse files Browse the repository at this point in the history
  • Loading branch information
jxn-30 committed Sep 23, 2022
1 parent 600e931 commit 82bb828
Show file tree
Hide file tree
Showing 12 changed files with 198 additions and 192 deletions.
60 changes: 30 additions & 30 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
name: Bug report
description: Create a Bug report
title: "[BUG]: "
labels: ["bug"]
title: '[BUG]: '
labels: ['bug']

body:
- type: textarea
id: description
attributes:
label: What happened?
description: |
Please describe as detailed as possible how exactly the bug looks like.
The more detailed, the better we can help you.
label: What happened?
description: |
Please describe as detailed as possible how exactly the bug looks like.
The more detailed, the better we can help you.
validations:
required: true
required: true

- type: textarea
id: reproduce
attributes:
label: How to reproduce?
description: Explain here, what you did when the error occurred.
value: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. ...
5. The error occurred
label: How to reproduce?
description: Explain here, what you did when the error occurred.
value: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. ...
5. The error occurred
validations:
required: true
required: true

- type: textarea
id: expected
attributes:
label: Expected behavior
description: What did you expect to happen? What behaviour did you expect from LSSM?
label: Expected behavior
description: What did you expect to happen? What behaviour did you expect from LSSM?
validations:
required: true
required: true

- type: textarea
id: system
attributes:
label: System
description: Please fill out
value: |
- OS: [e.g. Windows 10]
- Browser and version: [e.g. Firefox 101.3]
- LSSM-Version: [e.g. 4.6.1+20220917.1751 [stable]]
- Game-Version: [e.g. missionchief.co.uk]
label: System
description: Please fill out
value: |
- OS: [e.g. Windows 10]
- Browser and version: [e.g. Firefox 101.3]
- LSSM-Version: [e.g. 4.6.1+20220917.1751 [stable]]
- Game-Version: [e.g. missionchief.co.uk]
validations:
required: true
required: true

- type: textarea
id: additional
attributes:
label: Additional
description: You can use this section for any other information that may be relevant, such as Screenshots or Logs.
label: Additional
description: You can use this section for any other information that may be relevant, such as Screenshots or Logs.
58 changes: 29 additions & 29 deletions .github/ISSUE_TEMPLATE/bug_de.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
name: Fehlermeldung 🇩🇪
description: Fehlermeldung auf deutsch erstellen
title: "[BUG]: "
labels: ["bug"]
title: '[BUG]: '
labels: ['bug']

body:
- type: textarea
id: description
attributes:
label: What happened?
description: |
Füge hier eine detaillierte Beschreibung ein, was genau passiert.
Je detaillierter, desto besser!
label: What happened?
description: |
Füge hier eine detaillierte Beschreibung ein, was genau passiert.
Je detaillierter, desto besser!
validations:
required: true
required: true

- type: textarea
id: reproduce
attributes:
label: Wie kann man den Fehler reproduzieren?
description: Beschreibe hier, wenn möglich, was du gemacht hast, als der Fehler auftrat.
value: |
1. Auf '...' klicken
2. '...' eingeben
3. ...
4. Das Fehlverhalten tritt auf
label: Wie kann man den Fehler reproduzieren?
description: Beschreibe hier, wenn möglich, was du gemacht hast, als der Fehler auftrat.
value: |
1. Auf '...' klicken
2. '...' eingeben
3. ...
4. Das Fehlverhalten tritt auf
validations:
required: true
required: true

- type: textarea
id: expected
attributes:
label: Erwartetes Verhalten
description: Welches Verhalten hättest du erwartet?
label: Erwartetes Verhalten
description: Welches Verhalten hättest du erwartet?
validations:
required: true
required: true

- type: textarea
id: system
attributes:
label: System
description: Bitte fülle diese Informationen aus
value: |
- Betriebssystem: [z.B. Windows 10]
- Browser und version: [z.B. Firefox 101.3]
- LSSM-Version: [z.B. 4.6.1+20220917.1751 [stable]]
- Spiel-Version: [z.B. leitstellenspiel.de]
label: System
description: Bitte fülle diese Informationen aus
value: |
- Betriebssystem: [z.B. Windows 10]
- Browser und version: [z.B. Firefox 101.3]
- LSSM-Version: [z.B. 4.6.1+20220917.1751 [stable]]
- Spiel-Version: [z.B. leitstellenspiel.de]
validations:
required: true
required: true

- type: textarea
id: additional
attributes:
label: Sonstiges
description: Hier kannst du bei Bedarf weitere Infos oder Screenshots hinzufügen.
label: Sonstiges
description: Hier kannst du bei Bedarf weitere Infos oder Screenshots hinzufügen.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
blank_issues_enabled: false
blank_issues_enabled: false
24 changes: 12 additions & 12 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Feature request
description: Create a feature request
title: "[Feature request]: "
title: '[Feature request]: '

body:
- type: textarea
id: description
attributes:
label: Is your feature related to a problem?
description: |
Write a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
label: Is your feature related to a problem?
description: |
Write a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
required: true

- type: textarea
id: feature
attributes:
label: Solution / Feature
description: Give us a clear and concise description of what you want to happen.
label: Solution / Feature
description: Give us a clear and concise description of what you want to happen.
validations:
required: true
required: true

- type: textarea
id: alternatives
attributes:
label: Alternatives
description: A clear and concise description of any alternative solutions or features you've considered.
label: Alternatives
description: A clear and concise description of any alternative solutions or features you've considered.

- type: textarea
id: additional
attributes:
label: Additional
description: You can use this section for any other information that may be relevant, such as Screenshots.
label: Additional
description: You can use this section for any other information that may be relevant, such as Screenshots.
24 changes: 12 additions & 12 deletions .github/ISSUE_TEMPLATE/feature_de.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Feature Vorschlag 🇩🇪
description: Mache einen Vorschlag für ein Feature
title: "[Feature request]: "
title: '[Feature request]: '

body:
- type: textarea
id: description
attributes:
label: Geht deine Idee aus einer Problemstellung hervor?
description: |
Schreibe uns, was der Hintergrund für deine Idee ist. Damit können wir sie besser verstehen.
label: Geht deine Idee aus einer Problemstellung hervor?
description: |
Schreibe uns, was der Hintergrund für deine Idee ist. Damit können wir sie besser verstehen.
validations:
required: true
required: true

- type: textarea
id: feature
attributes:
label: Lösung / Feature
description: Was soll das Feature können / was soll passieren?
label: Lösung / Feature
description: Was soll das Feature können / was soll passieren?
validations:
required: true
required: true

- type: textarea
id: alternatives
attributes:
label: Alternativen
description: Hast du bereits über alternative Lösungen nachgedacht? Vielleicht können wir diese mit einbauen.
label: Alternativen
description: Hast du bereits über alternative Lösungen nachgedacht? Vielleicht können wir diese mit einbauen.

- type: textarea
id: additional
attributes:
label: Sonstiges
description: Hier kannst du weitere Punkte anfügen, die deine Idee besser verständlich machen (z.B. Screenshots o.ä.)
label: Sonstiges
description: Hier kannst du weitere Punkte anfügen, die deine Idee besser verständlich machen (z.B. Screenshots o.ä.)
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ body:
- type: textarea
id: description
attributes:
label: Hello world!
description: |
Yes, the title is intended! Simply describe your request here. As always, the more detailed the better!
Ja, der Titel ist gewollt! Beschreibe hier einfach dein Anliegen. Es gilt wie immer: Je detaillierter, desto besser!
label: Hello world!
description: |
Yes, the title is intended! Simply describe your request here. As always, the more detailed the better!
Ja, der Titel ist gewollt! Beschreibe hier einfach dein Anliegen. Es gilt wie immer: Je detaillierter, desto besser!
validations:
required: true
required: true
60 changes: 30 additions & 30 deletions .github/dependabot.old.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# disabled in favor of renovate
version: 2
updates:
- package-ecosystem: "npm"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
time: "03:00"
timezone: "Europe/Berlin"
assignees:
- "Suchty112"
commit-message:
prefix: "⬆️"
include: "scope"
reviewers:
- "Suchty112"
- "kdev"
target-branch: "dev"
- package-ecosystem: "npm"
directory: "/docs/.vuepress" # Location of package manifests
schedule:
interval: "daily"
time: "03:00"
timezone: "Europe/Berlin"
assignees:
- "Suchty112"
commit-message:
prefix: "⬆️"
include: "scope"
reviewers:
- "Suchty112"
- "kdev"
target-branch: "dev"
- package-ecosystem: 'npm'
directory: '/' # Location of package manifests
schedule:
interval: 'daily'
time: '03:00'
timezone: 'Europe/Berlin'
assignees:
- 'Suchty112'
commit-message:
prefix: '⬆️'
include: 'scope'
reviewers:
- 'Suchty112'
- 'kdev'
target-branch: 'dev'
- package-ecosystem: 'npm'
directory: '/docs/.vuepress' # Location of package manifests
schedule:
interval: 'daily'
time: '03:00'
timezone: 'Europe/Berlin'
assignees:
- 'Suchty112'
commit-message:
prefix: '⬆️'
include: 'scope'
reviewers:
- 'Suchty112'
- 'kdev'
target-branch: 'dev'
14 changes: 6 additions & 8 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build and Deploy

on:
push:
branches:
- 'master'
- 'dev'
branches:
- 'master'
- 'dev'

jobs:
build:
Expand All @@ -26,9 +26,8 @@ jobs:

- name: Unzip artifact
run: |
unzip dist.zip -d ${{ github.workspace }}/dist
rm dist.zip
unzip dist.zip -d ${{ github.workspace }}/dist
rm dist.zip
- name: list content of dist
if: ${{ github.ref == 'refs/heads/dev' }}
Expand All @@ -46,5 +45,4 @@ jobs:

- name: Deployment
if: ${{ success() }}
run: rsync -ruthz --stats --progress -e "ssh -p 22" ./dist/dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DEPLOY_DIR }}/${{ needs.build.outputs.type }}

run: rsync -ruthz --stats --progress -e "ssh -p 22" ./dist/dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DEPLOY_DIR }}/${{ needs.build.outputs.type }}
Loading

0 comments on commit 82bb828

Please sign in to comment.