Skip to content

Commit 78e9335

Browse files
razor-xseambot
andauthored
Retry ruby code format (#744)
* Retry ruby code format * ci: Format code * ci: Format code * Do not auto close PR * Revert "Do not auto close PR" This reverts commit 766a70d. * Retry via github action * Only automerge for PR author (not actor) seambot * Set timeout_minutes * Remove retry lib --------- Co-authored-by: Seam Bot <[email protected]>
1 parent 1f297b9 commit 78e9335

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Get changes
1212
runs-on: ubuntu-latest
1313
timeout-minutes: 30
14-
if: (github.actor == 'dependabot[bot]') || (github.actor == 'seambot')
14+
if: github.actor == 'dependabot[bot]' || github.event.pull_request.user.login == 'seambot'
1515
permissions:
1616
checks: read
1717
outputs:

.github/workflows/generate.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ jobs:
5353
- name: Normalize package-lock.json
5454
run: npm install
5555
- name: Generate docs
56-
run: npm run codegen
56+
uses: nick-fields/retry@v3
57+
with:
58+
max_attempts: 3
59+
retry_wait_seconds: 1
60+
timeout_minutes: 2
61+
command: npm run codegen
5762
- name: Commit
5863
uses: stefanzweifel/git-auto-commit-action@v5
5964
with:

0 commit comments

Comments
 (0)