Skip to content

Commit 5190a0a

Browse files
committed
docs: prepare for v10
1 parent 9ac3878 commit 5190a0a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can use this GitHub Action to commit changes made in your workflow run direc
1818
Add a step like this to your workflow:
1919

2020
```yaml
21-
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
21+
- uses: EndBug/add-and-commit@v10 # You can change this to use a specific version.
2222
with:
2323
# The arguments for the `git add` command (see the paragraph below for more info)
2424
# Default: '.'
@@ -230,7 +230,7 @@ jobs:
230230
build:
231231
runs-on: ubuntu-latest
232232
steps:
233-
- uses: EndBug/add-and-commit@v9
233+
- uses: EndBug/add-and-commit@v10
234234
with:
235235
default_author: github_actions
236236
```
@@ -240,7 +240,7 @@ You can also use the `committer_name` and `committer_email` inputs to make it ap
240240
<img src="https://user-images.githubusercontent.com/26386270/130594168-1d910710-e2d0-4b06-9324-cbe5dde59154.png" height=70/>
241241

242242
```yaml
243-
- uses: EndBug/add-and-commit@v9
243+
- uses: EndBug/add-and-commit@v10
244244
with:
245245
message: Show GitHub Actions logo
246246
committer_name: GitHub Actions
@@ -250,7 +250,7 @@ You can also use the `committer_name` and `committer_email` inputs to make it ap
250250
<img src="https://user-images.githubusercontent.com/26386270/130594443-b881fae7-3064-4020-a4cc-6db37ef0df65.png" height=70/>
251251

252252
```yaml
253-
- uses: EndBug/add-and-commit@v9
253+
- uses: EndBug/add-and-commit@v10
254254
with:
255255
message: Show GitHub logo
256256
committer_name: GitHub Actions
@@ -263,15 +263,15 @@ Due to limitations in the GitHub action APIs, all inputs must be either strings
263263
The action supports arrays in `add` and `remove`, but they have to be encoded as a string with a YAML flow sequence:
264264

265265
```yaml
266-
- uses: EndBug/add-and-commit@v9
266+
- uses: EndBug/add-and-commit@v10
267267
with:
268268
add: '["afile.txt", "anotherfile.txt"]'
269269
```
270270

271271
(note the single-quotes) or a YAML block sequence:
272272

273273
```yaml
274-
- uses: EndBug/add-and-commit@v9
274+
- uses: EndBug/add-and-commit@v10
275275
with:
276276
add: |
277277
- afile.txt
@@ -306,7 +306,7 @@ jobs:
306306
run: eslint "src/**" --fix
307307
308308
- name: Commit changes
309-
uses: EndBug/add-and-commit@v9
309+
uses: EndBug/add-and-commit@v10
310310
with:
311311
author_name: Your Name
312312
author_email: mail@example.com
@@ -337,7 +337,7 @@ jobs:
337337
- run: echo "123" > ./pathToRepo/file.txt
338338
339339
# ...and then use the action as you would normally do, but providing the path to the repo
340-
- uses: EndBug/add-and-commit@v9
340+
- uses: EndBug/add-and-commit@v10
341341
with:
342342
message: 'Add the very useful text file'
343343
add: '*.txt --force'

0 commit comments

Comments
 (0)