Skip to content

Commit cecb27b

Browse files
author
David Wertenteil
authored
Change bool to string in readme (#205)
1 parent e2ac821 commit cecb27b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ The following merge options are supported:
110110
For example, `automerge=merge,autosquash=squash`. If no such label is present,
111111
the method set by `MERGE_METHOD` will be used. The default value is `""`.
112112

113-
- `MERGE_METHOD_LABEL_REQUIRED`: Set to `true` to require one of the
114-
`MERGE_METHOD_LABELS` to be set. The default value is `false`.
113+
- `MERGE_METHOD_LABEL_REQUIRED`: Set to `"true"` to require one of the
114+
`MERGE_METHOD_LABELS` to be set. The default value is `"false"`.
115115

116116
- `MERGE_COMMIT_MESSAGE`: The commit message to use when merging the pull
117117
request into the base branch. Possible values are `automatic` (use GitHub's
@@ -135,8 +135,8 @@ The following merge options are supported:
135135
- `MERGE_FORKS`: Whether merging from external repositories is enabled
136136
or not. By default, pull requests with branches from forked repositories will
137137
be merged the same way as pull requests with branches from the main
138-
repository. Set this option to `false` to disable merging of pull requests
139-
from forked repositories. The default value is `true`.
138+
repository. Set this option to `"false"` to disable merging of pull requests
139+
from forked repositories. The default value is `"true"`.
140140

141141
- `MERGE_RETRIES` and `MERGE_RETRY_SLEEP`: Sometimes, the pull request check
142142
runs haven't finished yet, so the action will retry the merge after some time.
@@ -149,14 +149,14 @@ The following merge options are supported:
149149
- `MERGE_REQUIRED_APPROVALS`: Count of required approvals. The default is `0`.
150150

151151
- `MERGE_DELETE_BRANCH`: Automatic deletion of branches does not work for all
152-
repositories. Set this option to `true` to automatically delete branches
153-
after they have been merged. The default value is `false`.
152+
repositories. Set this option to `"true"` to automatically delete branches
153+
after they have been merged. The default value is `"false"`.
154154

155155
- `MERGE_DELETE_BRANCH_FILTER`: A comma-separated list of branches that will not
156156
be deleted. This is not the list of GitHub's protected branches, which are never
157157
deleted, but an additional list of branches to protect. The default value is `""`.
158158

159-
- `MERGE_ERROR_FAIL`: Set this to `true` to have the action exit with error code `1`
159+
- `MERGE_ERROR_FAIL`: Set this to `"true"` to have the action exit with error code `1`
160160
when the pull request could not be merged successfully during a run.
161161

162162
- `MERGE_READY_STATE`: The state(s) of a pull request for which to attempt a

0 commit comments

Comments
 (0)