-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4624044
commit d5e4bee
Showing
5 changed files
with
156 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Bug report | ||
about: Summary | ||
title: '[BUG]' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
**Description:** | ||
A clear and concise description of what the bug is. | ||
|
||
**Preconditions:** | ||
|
||
**Environment:** | ||
OS | ||
Browser | ||
Version | ||
|
||
**Steps to reproduce:** | ||
|
||
1. | ||
|
||
**Actual Result:** | ||
|
||
**Expected Result:** | ||
|
||
**Visual Proof (screenshots, videos, text):** | ||
|
||
**Severity:** | ||
Blocker (S1) | ||
Critical (S2) | ||
Major (S3) | ||
Minor (S4) | ||
Low/Trivial (S5) |
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,20 @@ | ||
root: '*' | ||
|
||
workflows: '.github/**/*' | ||
|
||
shared: 'shared/**/*' | ||
|
||
backend: | ||
- any: | ||
- 'backend/**/*' | ||
- '!backend/.env.example' | ||
|
||
frontend: | ||
- any: | ||
- 'frontend/**/*' | ||
- '!frontend/.env.example' | ||
|
||
ENV: | ||
- 'backend/.env.example' | ||
- 'frontend/.env.example' | ||
- 'lambdas/.env.example' |
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,5 @@ | ||
development: | ||
base: development | ||
|
||
production: | ||
base: production |
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,65 @@ | ||
name: Continuous Integration Pull Request | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- assigned | ||
- unassigned | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- labeled | ||
- unlabeled | ||
- ready_for_review | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ci-pr-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
ci-pr: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install NodeJS | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: .nvmrc | ||
|
||
- name: Install Dependencies | ||
run: | | ||
npm install | ||
- name: Lint Commits | ||
run: | | ||
npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose | ||
- name: Lint Pull Request | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
run: | | ||
npx danger ci --failOnErrors --text-only | ||
- name: Add Folder Labels | ||
uses: actions/labeler@v4 | ||
with: | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' | ||
sync-labels: true | ||
|
||
- name: Add Environment Labels | ||
uses: ffittschen/pr-branch-labeler@v1 | ||
with: | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' |
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: Continuous Integration | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- development | ||
- production | ||
|
||
concurrency: | ||
group: ci-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install NodeJS | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: .nvmrc | ||
|
||
- name: Install Dependencies | ||
run: | | ||
npm install | ||
- name: Code Linting | ||
run: | | ||
npm run lint |