diff --git a/.github/ISSUE_TEMPLATE/ask-a-question-on-hale-studio-usage.md b/.github/ISSUE_TEMPLATE/ask-a-question-on-hale-studio-usage.md new file mode 100644 index 0000000..7ab0ec4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ask-a-question-on-hale-studio-usage.md @@ -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 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..bc43f8d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -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. diff --git a/.github/ISSUE_TEMPLATE/report-a-bug.md b/.github/ISSUE_TEMPLATE/report-a-bug.md new file mode 100644 index 0000000..cc33548 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/report-a-bug.md @@ -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. diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..ff73e92 --- /dev/null +++ b/.github/workflows/check.yml @@ -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/maven-settings-action@v3.0.0 + + - 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' diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml new file mode 100644 index 0000000..c808011 --- /dev/null +++ b/.github/workflows/commitlint.yml @@ -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