Skip to content

Commit e228833

Browse files
committed
Make max_attempts default 3
1 parent d528719 commit e228833

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Now you're ready to go!
194194
| `iam-role-name` | Optional. Used only with the `start` mode. | IAM role name to attach to the created EC2 runner. <br><br> This allows the runner to have permissions to run additional actions within the AWS account, without having to manage additional GitHub secrets and AWS users. <br><br> Setting this requires additional AWS permissions for the role launching the instance (see above). |
195195
| `aws-resource-tags` | Optional. Used only with the `start` mode. | Specifies tags to add to the EC2 instance and any attached storage. <br><br> This field is a stringified JSON array of tag objects, each containing a `Key` and `Value` field (see example below). <br><br> Setting this requires additional AWS permissions for the role launching the instance (see above). |
196196
| `runner-home-dir` | Optional. Used only with the `start` mode. | Specifies a directory where pre-installed actions-runner software and scripts are located.<br><br> |
197-
| `max_attempts` | Optional. Default is 1. | Specifies the amount attempts to retry `start` or `stop` mode. |
197+
| `max_attempts` | Optional. Default is 3. | Specifies the amount attempts to retry `start` or `stop` mode. |
198198
### Environment variables
199199

200200
In addition to the inputs described above, the action also requires the following environment variables to access your AWS account:

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ inputs:
6868
max_attempts:
6969
description: Number of attempts. Default is 1
7070
required: false
71-
default: 1
71+
default: 3
7272
outputs:
7373
label:
7474
description: >-

0 commit comments

Comments
 (0)