diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md new file mode 100644 index 0000000..e74fa0a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.md @@ -0,0 +1,31 @@ +--- +name: Bug report +about: report to help us improve +labels: bug +--- + +## Current behavior + + + +## Expected behavior + + + +## Steps to reproduce the issue + + + +## Can you handle fixing this bug by yourself? + +- [ ] YES +- [ ] NO + +## Environment details + +- Browser: +- OS: +- Code Version: + +## Additional information + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md new file mode 100644 index 0000000..30a12f3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md @@ -0,0 +1,23 @@ +--- +name: Feature request +about: Suggest an idea for this project +labels: feature request + +--- + +## What is the motivation for adding/enhancing this feature? + + + +## What are the acceptance criteria? + + +- [ ] ... + +## Can you complete this feature request by yourself? + +- [ ] YES +- [ ] NO + +## Additional information + \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..326d3ed --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,17 @@ +### Related Issues + + +Closes # + +### Short Description and Why It's Useful + + + +### Screenshots of Visual Changes before/after (If There Are Any) + + + +### Contribution and Currently Important Rules Acceptance + + +- [ ] I read and followed [contribution rules](https://github.com/hotwax/order-routing-rules#contribution-guideline) \ No newline at end of file diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index e6bacfd..0dc3696 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -2,32 +2,15 @@ name: Verify build on: push: - branches: [ main ] + branches: [main] pull_request: # The branches below must be a subset of the branches above - branches: [ main ] - + branches: [main] -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12.x, 14.x, 16.x] - - steps: - - uses: actions/checkout@v2 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - - - name: Install Dependencies - run: npm install - - name: Generate .env file - run: cp .env.example .env - - name: Build - run: npm run build \ No newline at end of file +jobs: + call-workflow-in-another-repo: + uses: hotwax/dxp-components/.github/workflows/common-pull-request.yml@main + with: + config-path: .github/labeler.yml + secrets: + envPAT: ${{ secrets.envPAT }}