From 4c045bf611bea62dc14b5713e8547413807eba25 Mon Sep 17 00:00:00 2001 From: Pramod Kotipalli Date: Tue, 2 Jun 2026 12:57:16 -0700 Subject: [PATCH] ci: stop auto-opening prettier formatting PRs Remove the steps that auto-create prettier- branches and pull requests on lint failure. The lint check itself is kept; formatting can be applied locally instead. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/prettier.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 3164775a..7b895a56 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -19,27 +19,3 @@ jobs: run: git diff && exit $(git status --porcelain=v1 2>/dev/null | wc -l) - - - name: Create Pull Request - id: cpr - uses: peter-evans/create-pull-request@v3 - if: ${{ failure() }} - with: - token: ${{ secrets.WORKFLOW_TOKEN }} - commit-message: - Apply prettier to ${{ github.ref_name }} - title: Apply prettier to ${{ github.ref_name }} - branch: prettier-${{ github.run_number }} - body: - This pull request applies NPM's `prettier` - formatting changes to the codebase at ${{ - github.sha }}. - labels: auto-generated - reviewers: ${{ github.actor }} - - - name: Store pull request number - if: ${{ failure() }} - run: - echo "PR_NUMBER=${{ - steps.cpr.outputs.pull-request-number }}" >> - $GITHUB_ENV