From 4490d178d08b95714a5b9165f4ec198eaf2d6f3c Mon Sep 17 00:00:00 2001 From: Dan Ditomaso Date: Mon, 24 Feb 2025 15:14:57 -0500 Subject: [PATCH] Revert "feat: apply formatting as github action" --- .github/workflows/format.yml | 48 ------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 .github/workflows/format.yml diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml deleted file mode 100644 index ec8efd55..00000000 --- a/.github/workflows/format.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Code Formatting - -on: - pull_request: - branches: [ main, master ] - workflow_dispatch: - -jobs: - format: - runs-on: ubuntu-latest - - permissions: - contents: write - pull-requests: write - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - - - name: Install Biome - run: npm install --global @biomejs/biome - - - name: Format with Biome - run: biome format --write . - - - name: Check for changes - id: git-check - run: | - git diff --quiet || echo "changes=true" >> $GITHUB_OUTPUT - - - name: Commit and push changes - if: steps.git-check.outputs.changes == 'true' - run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" - - git add -A - git commit -m "chore: format code" - git push \ No newline at end of file