You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: retry only on specific exit code
* Run ci_cd on all push events
* dedupe step IDs
* add assertions for retry_on_exit_code tests
* minor: implemented suggested fix from @andersfischernielsen
* docs: update readme to reflect new retry_on_exit_code input
Co-authored-by: Anders Fischer-Nielsen <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Retries an Action step on failure or timeout. This is currently intended to replace the `run` step for moody commands.
4
4
5
-
**NOTE:** Ownership of this project was transferred to my personal account `nick-fields` from my work account `nick-invision`. Details [here](#Ownership)
5
+
**NOTE:** Ownership of this project was transferred to my personal account `nick-fields` from my work account `nick-invision`. Details [here](#Ownership)
6
6
7
7
---
8
8
@@ -56,6 +56,10 @@ Retries an Action step on failure or timeout. This is currently intended to repl
56
56
57
57
**Optional** Exit successfully even if an error occurs. Same as native continue-on-error behavior, but for use in composite actions. Defaults to `false`
58
58
59
+
### `retry_on_exit_code`
60
+
61
+
**Optional** Specific exit code to retry on. This will only retry for the given error code and fail immediately other error codes.
62
+
59
63
## Outputs
60
64
61
65
### `total_attempts`
@@ -233,6 +237,6 @@ NodeJS is required for this action to run. This runs without issue on all GitHub
233
237
234
238
## **Ownership**
235
239
236
-
As of 2022/02/15 ownership of this project has been transferred to my personal account `nick-fields` from my work account `nick-invision` due to me leaving InVision. I am the author and have been the primary maintainer since day one and will continue to maintain this as needed.
240
+
As of 2022/02/15 ownership of this project has been transferred to my personal account `nick-fields` from my work account `nick-invision` due to me leaving InVision. I am the author and have been the primary maintainer since day one and will continue to maintain this as needed.
237
241
238
242
Existing workflow references to `nick-invision/retry@<whatever>` no longer work and must be updated to `nick-fields/retry@<whatever>`.
0 commit comments