Skip to content

Commit 1fba1d8

Browse files
chore(release): prepare v1.2.1 (#200)
Files changed: M README.md M action.yml Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 23c5f98 commit 1fba1d8

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This action supports three tag levels for flexible versioning:
5252

5353
```yaml
5454
- name: Run the Action
55-
uses: devops-infra/action-commit-push@v1.2.0
55+
uses: devops-infra/action-commit-push@v1.2.1
5656
with:
5757
github_token: "${{ secrets.GITHUB_TOKEN }}"
5858
add_timestamp: true
@@ -113,7 +113,7 @@ jobs:
113113
find . -type f -name "*.md" -print0 | xargs -0 sed -i "s/foo/bar/g"
114114
115115
- name: Commit and push changes
116-
uses: devops-infra/action-commit-push@v1.2.0
116+
uses: devops-infra/action-commit-push@v1.2.1
117117
with:
118118
github_token: ${{ secrets.GITHUB_TOKEN }}
119119
commit_message: "Replace foo with bar"
@@ -178,7 +178,7 @@ jobs:
178178
echo "Additional content" >> README.md
179179
180180
- name: Amend and force push with lease
181-
uses: devops-infra/action-commit-push@v1.2.0
181+
uses: devops-infra/action-commit-push@v1.2.1
182182
with:
183183
github_token: ${{ secrets.GITHUB_TOKEN }}
184184
commit_message: ${{ github.event.inputs.new_commit_message }}
@@ -191,7 +191,7 @@ When using `amend: true`, you have several options for handling the commit messa
191191

192192
1. **Change the commit message**: Set `commit_message` to provide a new message
193193
```yaml
194-
- uses: devops-infra/action-commit-push@v1.2.0
194+
- uses: devops-infra/action-commit-push@v1.2.1
195195
with:
196196
github_token: ${{ secrets.GITHUB_TOKEN }}
197197
commit_message: "Fixed typo in documentation"
@@ -201,7 +201,7 @@ When using `amend: true`, you have several options for handling the commit messa
201201

202202
2. **Keep existing message**: Set `no_edit: true` to keep the original commit message
203203
```yaml
204-
- uses: devops-infra/action-commit-push@v1.2.0
204+
- uses: devops-infra/action-commit-push@v1.2.1
205205
with:
206206
github_token: ${{ secrets.GITHUB_TOKEN }}
207207
amend: true
@@ -247,7 +247,7 @@ jobs:
247247
steps:
248248
- uses: actions/checkout@v5
249249
250-
- uses: devops-infra/action-commit-push@v1.2.0
250+
- uses: devops-infra/action-commit-push@v1.2.1
251251
id: Pin patch version
252252
253253
- uses: devops-infra/action-commit-push@v1.1

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ outputs:
6565
description: Name of the branch code was pushed into
6666
runs:
6767
using: docker
68-
image: docker://devopsinfra/action-commit-push:v1.2.0
68+
image: docker://devopsinfra/action-commit-push:v1.2.1
6969
env:
7070
GITHUB_TOKEN: ${{ inputs.github_token }}
7171
branding:

0 commit comments

Comments
 (0)