Skip to content

Commit 98d2782

Browse files
committed
Use v5 in README
1 parent eb38c21 commit 98d2782

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Adding git-auto-commit to your Workflow only takes a couple lines of code.
1919
2. Add the following step at the end of your job, after other steps that might add or change files.
2020

2121
```yaml
22-
- uses: stefanzweifel/git-auto-commit-action@v4
22+
- uses: stefanzweifel/git-auto-commit-action@v5
2323
```
2424
2525
Your Workflow should look similar to this example.
@@ -44,7 +44,7 @@ jobs:
4444
# Other steps that change files in the repository
4545

4646
# Commit all changed files back to the repository
47-
- uses: stefanzweifel/git-auto-commit-action@v4
47+
- uses: stefanzweifel/git-auto-commit-action@v5
4848
```
4949
5050
> **Note**
@@ -53,7 +53,7 @@ jobs:
5353
The following is an extended example with all available options.
5454

5555
```yaml
56-
- uses: stefanzweifel/git-auto-commit-action@v4
56+
- uses: stefanzweifel/git-auto-commit-action@v5
5757
with:
5858
# Optional. Commit message for the created commit.
5959
# Defaults to "Apply automatic changes"
@@ -151,7 +151,7 @@ jobs:
151151
- name: Run php-cs-fixer
152152
uses: docker://oskarstark/php-cs-fixer-ga
153153
154-
- uses: stefanzweifel/git-auto-commit-action@v4
154+
- uses: stefanzweifel/git-auto-commit-action@v5
155155
with:
156156
commit_message: Apply php-cs-fixer changes
157157
```
@@ -258,7 +258,7 @@ The example below can be used as a starting point to generate a multiline commit
258258
# Quick and dirty step to get rid of the temporary file holding the commit message
259259
- run: rm -rf commitmessage.txt
260260
261-
- uses: stefanzweifel/git-auto-commit-action@v4
261+
- uses: stefanzweifel/git-auto-commit-action@v5
262262
id: commit
263263
with:
264264
commit_message: ${{ steps.commit_message_step.outputs.commit_message }}
@@ -333,7 +333,7 @@ jobs:
333333
- name: Run php-cs-fixer
334334
uses: docker://oskarstark/php-cs-fixer-ga
335335
336-
- uses: stefanzweifel/git-auto-commit-action@v4
336+
- uses: stefanzweifel/git-auto-commit-action@v5
337337
```
338338

339339
### Workflow should run in **forked** repository
@@ -371,7 +371,7 @@ jobs:
371371
- name: Run php-cs-fixer
372372
uses: docker://oskarstark/php-cs-fixer-ga
373373
374-
- uses: stefanzweifel/git-auto-commit-action@v4
374+
- uses: stefanzweifel/git-auto-commit-action@v5
375375
with:
376376
commit_message: Apply php-cs-fixer changes
377377
```
@@ -420,7 +420,7 @@ The steps in your workflow might look like this:
420420
run: |
421421
echo "msg=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT
422422
423-
- uses: stefanzweifel/git-auto-commit-action@v4
423+
- uses: stefanzweifel/git-auto-commit-action@v5
424424
with:
425425
commit_message: ${{ steps.last-commit-message.outputs.msg }}
426426
commit_options: '--amend --no-edit'
@@ -465,7 +465,7 @@ You can learn more about Personal Access Token in the [GitHub documentation](htt
465465
If you go the "force pushes" route, you have to enable force pushes to a protected branch (See [documentation](https://help.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)) and update your Workflow to use force push like this.
466466

467467
```yaml
468-
- uses: stefanzweifel/git-auto-commit-action@v4
468+
- uses: stefanzweifel/git-auto-commit-action@v5
469469
with:
470470
commit_message: Apply php-cs-fixer changes
471471
push_options: --force
@@ -495,7 +495,7 @@ This is due to the fact, that the `*.md`-glob is expanded before sending it to `
495495
To fix this add `disable_globbing: true` to your Workflow.
496496

497497
```yaml
498-
- uses: stefanzweifel/git-auto-commit-action@v4
498+
- uses: stefanzweifel/git-auto-commit-action@v5
499499
with:
500500
file_pattern: '*.md'
501501
disable_globbing: true
@@ -523,7 +523,7 @@ yarn test
523523

524524
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/stefanzweifel/git-auto-commit-action/tags).
525525

526-
We also provide major version tags to make it easier to always use the latest release of a major version. For example, you can use `stefanzweifel/git-auto-commit-action@v4` to always use the latest release of the current major version.
526+
We also provide major version tags to make it easier to always use the latest release of a major version. For example, you can use `stefanzweifel/git-auto-commit-action@v5` to always use the latest release of the current major version.
527527
(More information about this [here](https://help.github.com/en/actions/building-actions/about-actions#versioning-your-action).)
528528

529529
## Credits

0 commit comments

Comments
 (0)