fix: removed unused files
This commit is contained in:
parent
5a7d1ebd65
commit
d91b5a274b
7 changed files with 0 additions and 263 deletions
|
|
@ -1,7 +0,0 @@
|
||||||
[codespell]
|
|
||||||
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
|
|
||||||
skip = .git*,*.svg,i18n,*-lock.yaml,*.css,.codespellrc,migrations,*.js,*.map,*.mjs
|
|
||||||
check-hidden = true
|
|
||||||
# ignore all CamelCase and camelCase
|
|
||||||
ignore-regex = \b[A-Za-z][a-z]+[A-Z][a-zA-Z]+\b
|
|
||||||
ignore-words-list = tread
|
|
||||||
55
.github/dependabot.yml
vendored
55
.github/dependabot.yml
vendored
|
|
@ -1,55 +0,0 @@
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
# JavaScript/TypeScript dependencies (pnpm monorepo root)
|
|
||||||
- package-ecosystem: "npm"
|
|
||||||
directory: "/"
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
open-pull-requests-limit: 10
|
|
||||||
labels:
|
|
||||||
- "dependencies"
|
|
||||||
- "javascript"
|
|
||||||
groups:
|
|
||||||
minor-and-patch:
|
|
||||||
update-types:
|
|
||||||
- "minor"
|
|
||||||
- "patch"
|
|
||||||
|
|
||||||
# Python dependencies
|
|
||||||
- package-ecosystem: "pip"
|
|
||||||
directory: "/apps/api"
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
open-pull-requests-limit: 5
|
|
||||||
labels:
|
|
||||||
- "dependencies"
|
|
||||||
- "python"
|
|
||||||
groups:
|
|
||||||
minor-and-patch:
|
|
||||||
update-types:
|
|
||||||
- "minor"
|
|
||||||
- "patch"
|
|
||||||
|
|
||||||
# GitHub Actions
|
|
||||||
- package-ecosystem: "github-actions"
|
|
||||||
directory: "/"
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
open-pull-requests-limit: 5
|
|
||||||
labels:
|
|
||||||
- "dependencies"
|
|
||||||
- "github-actions"
|
|
||||||
groups:
|
|
||||||
actions:
|
|
||||||
patterns:
|
|
||||||
- "*"
|
|
||||||
|
|
||||||
# Docker - API
|
|
||||||
- package-ecosystem: "docker"
|
|
||||||
directory: "/apps/api"
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
||||||
open-pull-requests-limit: 5
|
|
||||||
labels:
|
|
||||||
- "dependencies"
|
|
||||||
- "docker"
|
|
||||||
25
.github/workflows/codespell.yml
vendored
25
.github/workflows/codespell.yml
vendored
|
|
@ -1,25 +0,0 @@
|
||||||
# Codespell configuration is within .codespellrc
|
|
||||||
---
|
|
||||||
name: Codespell
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [preview]
|
|
||||||
pull_request:
|
|
||||||
branches: [preview]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
codespell:
|
|
||||||
name: Check for spelling errors
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v6
|
|
||||||
- name: Annotate locations with typos
|
|
||||||
uses: codespell-project/codespell-problem-matcher@v1
|
|
||||||
- name: Codespell
|
|
||||||
uses: codespell-project/actions-codespell@v2
|
|
||||||
|
|
@ -8,8 +8,6 @@ on:
|
||||||
types:
|
types:
|
||||||
- "opened"
|
- "opened"
|
||||||
- "synchronize"
|
- "synchronize"
|
||||||
- "ready_for_review"
|
|
||||||
- "review_requested"
|
|
||||||
- "reopened"
|
- "reopened"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|
|
||||||
52
.github/workflows/sync-repo-pr.yml
vendored
52
.github/workflows/sync-repo-pr.yml
vendored
|
|
@ -1,52 +0,0 @@
|
||||||
name: Create PR on Sync
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- "sync/**"
|
|
||||||
|
|
||||||
env:
|
|
||||||
CURRENT_BRANCH: ${{ github.ref_name }}
|
|
||||||
TARGET_BRANCH: "preview" # The target branch that you would like to merge changes like develop
|
|
||||||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} # Personal access token required to modify contents and workflows
|
|
||||||
ACCOUNT_USER_NAME: ${{ vars.ACCOUNT_USER_NAME }}
|
|
||||||
ACCOUNT_USER_EMAIL: ${{ vars.ACCOUNT_USER_EMAIL }}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
create_pull_request:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
contents: write
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v6
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 # Fetch all history for all branches and tags
|
|
||||||
|
|
||||||
- name: Setup Git
|
|
||||||
run: |
|
|
||||||
git config user.name "$ACCOUNT_USER_NAME"
|
|
||||||
git config user.email "$ACCOUNT_USER_EMAIL"
|
|
||||||
|
|
||||||
- name: Setup GH CLI and Git Config
|
|
||||||
run: |
|
|
||||||
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
|
|
||||||
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
|
|
||||||
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
|
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install gh -y
|
|
||||||
|
|
||||||
- name: Create PR to Target Branch
|
|
||||||
run: |
|
|
||||||
# get all pull requests and check if there is already a PR
|
|
||||||
PR_EXISTS=$(gh pr list --base $TARGET_BRANCH --head $CURRENT_BRANCH --state open --json number | jq '.[] | .number')
|
|
||||||
if [ -n "$PR_EXISTS" ]; then
|
|
||||||
echo "Pull Request already exists: $PR_EXISTS"
|
|
||||||
else
|
|
||||||
echo "Creating new pull request"
|
|
||||||
PR_URL=$(gh pr create --base $TARGET_BRANCH --head $CURRENT_BRANCH --title "${{ vars.SYNC_PR_TITLE }}" --body "")
|
|
||||||
echo "Pull Request created: $PR_URL"
|
|
||||||
fi
|
|
||||||
44
.github/workflows/sync-repo.yml
vendored
44
.github/workflows/sync-repo.yml
vendored
|
|
@ -1,44 +0,0 @@
|
||||||
name: Sync Repositories
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- preview
|
|
||||||
|
|
||||||
env:
|
|
||||||
SOURCE_BRANCH_NAME: ${{ github.ref_name }}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
sync_changes:
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
permissions:
|
|
||||||
pull-requests: write
|
|
||||||
contents: read
|
|
||||||
steps:
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@v6
|
|
||||||
with:
|
|
||||||
persist-credentials: false
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup GH CLI
|
|
||||||
run: |
|
|
||||||
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
|
|
||||||
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
|
|
||||||
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
|
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install gh -y
|
|
||||||
|
|
||||||
- name: Push Changes to Target Repo
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
|
||||||
run: |
|
|
||||||
TARGET_REPO="${{ vars.SYNC_TARGET_REPO }}"
|
|
||||||
TARGET_BRANCH="${{ vars.SYNC_TARGET_BRANCH_NAME }}"
|
|
||||||
SOURCE_BRANCH="${{ env.SOURCE_BRANCH_NAME }}"
|
|
||||||
|
|
||||||
git checkout $SOURCE_BRANCH
|
|
||||||
git remote add target-origin-a "https://$GH_TOKEN@github.com/$TARGET_REPO.git"
|
|
||||||
git push target-origin-a $SOURCE_BRANCH:$TARGET_BRANCH
|
|
||||||
|
|
@ -63,63 +63,6 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
|
|
||||||
# web:
|
|
||||||
# build:
|
|
||||||
# context: .
|
|
||||||
# dockerfile: ./web/Dockerfile.dev
|
|
||||||
# restart: unless-stopped
|
|
||||||
# networks:
|
|
||||||
# - dev_env
|
|
||||||
# volumes:
|
|
||||||
# - ./web:/app/web
|
|
||||||
# env_file:
|
|
||||||
# - ./web/.env
|
|
||||||
# depends_on:
|
|
||||||
# - api
|
|
||||||
# - worker
|
|
||||||
|
|
||||||
# space:
|
|
||||||
# build:
|
|
||||||
# context: .
|
|
||||||
# dockerfile: ./space/Dockerfile.dev
|
|
||||||
# restart: unless-stopped
|
|
||||||
# networks:
|
|
||||||
# - dev_env
|
|
||||||
# volumes:
|
|
||||||
# - ./space:/app/space
|
|
||||||
# depends_on:
|
|
||||||
# - api
|
|
||||||
# - worker
|
|
||||||
# - web
|
|
||||||
|
|
||||||
# admin:
|
|
||||||
# build:
|
|
||||||
# context: .
|
|
||||||
# dockerfile: ./admin/Dockerfile.dev
|
|
||||||
# restart: unless-stopped
|
|
||||||
# networks:
|
|
||||||
# - dev_env
|
|
||||||
# volumes:
|
|
||||||
# - ./admin:/app/admin
|
|
||||||
# depends_on:
|
|
||||||
# - api
|
|
||||||
# - worker
|
|
||||||
# - web
|
|
||||||
|
|
||||||
# live:
|
|
||||||
# build:
|
|
||||||
# context: .
|
|
||||||
# dockerfile: ./live/Dockerfile.dev
|
|
||||||
# restart: unless-stopped
|
|
||||||
# networks:
|
|
||||||
# - dev_env
|
|
||||||
# volumes:
|
|
||||||
# - ./live:/app/live
|
|
||||||
# depends_on:
|
|
||||||
# - api
|
|
||||||
# - worker
|
|
||||||
# - web
|
|
||||||
|
|
||||||
api:
|
api:
|
||||||
build:
|
build:
|
||||||
context: ./apps/api
|
context: ./apps/api
|
||||||
|
|
@ -197,27 +140,6 @@ services:
|
||||||
- plane-db
|
- plane-db
|
||||||
- plane-redis
|
- plane-redis
|
||||||
|
|
||||||
# proxy:
|
|
||||||
# build:
|
|
||||||
# context: ./apps/proxy
|
|
||||||
# dockerfile: Dockerfile.ce
|
|
||||||
# restart: unless-stopped
|
|
||||||
# networks:
|
|
||||||
# - dev_env
|
|
||||||
# ports:
|
|
||||||
# - ${LISTEN_HTTP_PORT}:80
|
|
||||||
# - ${LISTEN_HTTPS_PORT}:443
|
|
||||||
# env_file:
|
|
||||||
# - .env
|
|
||||||
# environment:
|
|
||||||
# FILE_SIZE_LIMIT: ${FILE_SIZE_LIMIT:-5242880}
|
|
||||||
# BUCKET_NAME: ${AWS_S3_BUCKET_NAME:-uploads}
|
|
||||||
# depends_on:
|
|
||||||
# - api
|
|
||||||
# - web
|
|
||||||
# - space
|
|
||||||
# - admin
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
redisdata:
|
redisdata:
|
||||||
uploads:
|
uploads:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue