Skip to content

Commit 2bfea8c

Browse files
authored
Fixed retry call for the gh command that has issues lately
1 parent 5275bec commit 2bfea8c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: .github/workflows/gsg-repo-gen.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ jobs:
3131

3232
# Run our gh command to find repos - only finds public repos with the given tag
3333
- name: gh command
34-
run: |
35-
gh search repos topic:sparkfun-tutorial --owner sparkfun --visibility public --sort updated --order desc --limit 1000 --json name,url,homepage,description > gsg.json
36-
retry:
34+
uses: nick-fields/retry@v3
35+
with:
3736
command: gh search repos topic:sparkfun-tutorial --owner sparkfun --visibility public --sort updated --order desc --limit 1000 --json name,url,homepage,description > gsg.json
3837
max_attempts: 3
3938
retry_wait_seconds: 180

0 commit comments

Comments
 (0)