From 4b40b3802ee836aea13af1cf59fd23daf1cc4f17 Mon Sep 17 00:00:00 2001 From: Jacqueline Firth Date: Thu, 16 Oct 2025 23:04:28 -0700 Subject: [PATCH] Reduce per-PR Resyntax limits Resyntax seems to occasionally take an extremely long time to analyze the repository (over four hours), and it seems to fail at the final step of creating a pull request in these cases. The error message mentions "bad credentials" so I suspect the API token given to the workflow is already expired by the time Resyntax is ready to create a PR. This PR reduces the amount of work Resyntax can do per pull request in the hopes of making it do less work and finish quicker. --- .github/workflows/resyntax-autofixer.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/resyntax-autofixer.yml b/.github/workflows/resyntax-autofixer.yml index 3a4f33736..52d71a78d 100644 --- a/.github/workflows/resyntax-autofixer.yml +++ b/.github/workflows/resyntax-autofixer.yml @@ -33,6 +33,6 @@ jobs: uses: jackfirth/create-resyntax-pull-request@v0.5.1 with: private-key: ${{ secrets.RESYNTAX_APP_PRIVATE_KEY }} - max-fixes: '50' - max-modified-files: '20' + max-fixes: '20' + max-modified-files: '10' max-modified-lines: '500'