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 74ab70d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/update-standing-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ 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
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 74ab70d

Please sign in to comment.