Skip to content

Commit ff39271

Browse files
jackfirthsamth
authored andcommitted
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.
1 parent a25a909 commit ff39271

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/resyntax-autofixer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
uses: jackfirth/create-resyntax-pull-request@v0.5.1
3434
with:
3535
private-key: ${{ secrets.RESYNTAX_APP_PRIVATE_KEY }}
36-
max-fixes: '50'
37-
max-modified-files: '20'
36+
max-fixes: '20'
37+
max-modified-files: '10'
3838
max-modified-lines: '500'

0 commit comments

Comments
 (0)