Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug Report
about: Create a report to help us improve
title: "[BUG] "
labels: bug
assignees: ""
---

## Description

<!-- A clear and concise description of the bug -->

## Steps to Reproduce

1.
2.
3.

## Expected Behavior

<!-- What you expected to happen -->

## Actual Behavior

<!-- What actually happened -->

## Screenshots

<!-- If applicable, add screenshots to help explain your problem -->

## Environment

- Browser:
- OS:
- Device:

## Additional Information

<!-- Add any other context about the problem here -->
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Questions or Help
url: https://github.com/your-org/your-repo/discussions
about: Please ask questions in the Discussions area
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Feature Request
about: Suggest an idea for this project
title: "[FEATURE] "
labels: enhancement
assignees: ""
---

## Description

<!-- A clear and concise description of the feature you're requesting -->

## Figma Link

## Screenshots

<!-- Link to the Figma design if available -->

## Acceptance Criteria

- [ ]
- [ ]
- [ ]

<!-- Add screenshots or mockups if available -->
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Description

<!-- Brief description of changes -->

## Related Issue

Closes #

## Changes

-
-

## Checks

- [ ] Storybook updated
- [ ] Build succeeds
- [ ] Standards followed
103 changes: 103 additions & 0 deletions .github/workflows/build-and-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# name: Build and Merge

# on:
# pull_request:
# types: [opened, synchronize, reopened, ready_for_review]

# jobs:
# build:
# name: Build Application
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# with:
# ref: ${{ github.head_ref }}
# token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

# - name: Setup Node.js
# uses: actions/setup-node@v3
# with:
# node-version: "18"
# cache: "yarn"

# - name: Setup Bun
# uses: oven-sh/setup-bun@v1
# with:
# bun-version: latest

# - name: Cache Bun dependencies
# id: cache-deps
# uses: actions/cache@v4
# with:
# path: ~/.bun/install/cache
# key: ${{ runner.os }}-bun-dependencies-${{ hashFiles('**/bun.lockb') }}
# restore-keys: |
# ${{ runner.os }}-bun-dependencies-

# - name: Install root dependencies
# run: bun install

# - name: Install design system dependencies
# run: |
# cd packages/design-system
# yarn install
# yarn add -D ts-node typescript

# - name: Install global tools
# run: |
# npm install -g turbo
# npm install -g ts-node

# - name: Build design system first
# run: |
# cd packages/design-system
# yarn build || npx ts-node src/scripts/build.ts

# - name: Type checking
# run: bun run type-checks || npx turbo build check-types

# - name: Build application
# run: bun run build || npx turbo build

# merge-pr:
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Check PR Author
# id: check-author
# run: |
# PR_AUTHOR="${{ github.event.pull_request.user.login }}"
# echo "PR_AUTHOR=${PR_AUTHOR}" >> $GITHUB_ENV
# if [[ "$PR_AUTHOR" == "mrbadri" ]]; then
# echo "MERGE_IMMEDIATELY=true" >> $GITHUB_ENV
# else
# echo "MERGE_IMMEDIATELY=false" >> $GITHUB_ENV
# fi

# - name: Wait for Approval (if not mrbadri)
# id: check-approval
# if: env.MERGE_IMMEDIATELY == 'false'
# run: |
# APPROVED=0
# while [ $APPROVED -eq 0 ]; do
# echo "Checking for approvals..."
# REVIEWS=$(curl -s -H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
# -H "Accept: application/vnd.github.v3+json" \
# https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews)

# if echo "$REVIEWS" | grep -q '"state": "APPROVED"'; then
# APPROVED=1
# echo "Pull request has at least one approval!"
# else
# echo "Waiting for at least one approval..."
# sleep 60
# fi
# done

# - name: Merge Pull Request
# run: |
# curl -X PUT -H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
# -H "Accept: application/vnd.github.v3+json" \
# https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/merge \
# -d '{"merge_method":"squash"}'
35 changes: 0 additions & 35 deletions .github/workflows/deploy.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/docker-ci.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/preview.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/priview-clean.yml

This file was deleted.

48 changes: 0 additions & 48 deletions Dockerfile

This file was deleted.

Loading