Skip to content

Commit

Permalink
action-commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelaepure10 committed Mar 6, 2024
1 parent 01511ab commit 85c46cf
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/ask-a-question-on-hale-studio-usage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Ask a question on hale»studio usage
about: If you have a question about using hale»studio, please use the forum.
title: ''
labels: ''
assignees: ''

---

If you have questions regarding the usage of hale»studio, please use the forum:

https://discuss.wetransform.to/#/forum
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Feature request
about: If you have a feature request or an idea that you believe could improve our
software, we would love to hear from you.
title: "[Feature]:"
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/report-a-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Report a bug
about: If you encounter any issues, errors, or unexpected behaviour while using our
software, we kindly request that you report it to us.
title: "[BUG]:"
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expect to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.



**Additional context**
Add any other context about the problem here.
37 changes: 37 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Pull Request Workflow

on:
pull_request:
branches:
- '*' # Trigger on all branches for pull requests

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup JAVA
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'

- name: Setup Maven
uses: s4u/[email protected]

- name: Clean
run: ./build.sh clean
working-directory: ./build

- name: Test
run: ./build.sh commitStage
working-directory: ./build

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
report_paths: 'build/target/testReports/*.xml'
23 changes: 23 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Commitlint

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
commitlint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: npm install @commitlint/action-commitlint

- name: Run commitlint
run: npx commitlint --from=$GITHUB_SHA~1 --to=$GITHUB_SHA

0 comments on commit 85c46cf

Please sign in to comment.