Skip to content

Commit

Permalink
Add retry as data call can be flakey
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-fol committed Sep 26, 2024
1 parent 9dbea7d commit 1fc7ff9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/update-standing-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ jobs:
run: npm install

- name: Download standing data from API
run: npm run download-standing-data
uses: nick-fields/retry@v3
with:
max_attempts: 3
timeout_minutes: 10
retry_on: error
command:
npm run download-standing-data

- name: Merge offence code data files
run: npm run merge-offence-data
Expand Down

0 comments on commit 1fc7ff9

Please sign in to comment.