diff --git a/.codespellrc b/.codespellrc deleted file mode 100644 index ffe730b74..000000000 --- a/.codespellrc +++ /dev/null @@ -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 diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 3ef625fae..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -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" diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml deleted file mode 100644 index 2798d8d52..000000000 --- a/.github/workflows/codespell.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/pull-request-build-lint-web-apps.yml b/.github/workflows/pull-request-build-lint-web-apps.yml index d5d417ca3..719f10118 100644 --- a/.github/workflows/pull-request-build-lint-web-apps.yml +++ b/.github/workflows/pull-request-build-lint-web-apps.yml @@ -8,8 +8,6 @@ on: types: - "opened" - "synchronize" - - "ready_for_review" - - "review_requested" - "reopened" concurrency: diff --git a/.github/workflows/sync-repo-pr.yml b/.github/workflows/sync-repo-pr.yml deleted file mode 100644 index 5047f4fee..000000000 --- a/.github/workflows/sync-repo-pr.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/sync-repo.yml b/.github/workflows/sync-repo.yml deleted file mode 100644 index 3f97dbbf1..000000000 --- a/.github/workflows/sync-repo.yml +++ /dev/null @@ -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 diff --git a/docker-compose-local.yml b/docker-compose-local.yml index 5b7cba39e..6bc5ee309 100644 --- a/docker-compose-local.yml +++ b/docker-compose-local.yml @@ -63,63 +63,6 @@ services: ports: - "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: build: context: ./apps/api @@ -197,27 +140,6 @@ services: - plane-db - 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: redisdata: uploads: