Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This action supports three tag levels for flexible versioning:

```yaml
- name: Run the Action
uses: devops-infra/action-commit-push@v1.0.2
uses: devops-infra/action-commit-push@v1.0.3
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
add_timestamp: true
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
find . -type f -name "*.md" -print0 | xargs -0 sed -i "s/foo/bar/g"

- name: Commit and push changes
uses: devops-infra/action-commit-push@v1.0.2
uses: devops-infra/action-commit-push@v1.0.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_message: "Replace foo with bar"
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
echo "Additional content" >> README.md

- name: Amend and force push with lease
uses: devops-infra/action-commit-push@v1.0.2
uses: devops-infra/action-commit-push@v1.0.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_message: ${{ github.event.inputs.new_commit_message }}
Expand All @@ -182,7 +182,7 @@ When using `amend: true`, you have several options for handling the commit messa

1. **Change the commit message**: Set `commit_message` to provide a new message
```yaml
- uses: devops-infra/action-commit-push@v1.0.2
- uses: devops-infra/action-commit-push@v1.0.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_message: "Fixed typo in documentation"
Expand All @@ -192,7 +192,7 @@ When using `amend: true`, you have several options for handling the commit messa

2. **Keep existing message**: Set `no_edit: true` to keep the original commit message
```yaml
- uses: devops-infra/action-commit-push@v1.0.2
- uses: devops-infra/action-commit-push@v1.0.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
amend: true
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
steps:
- uses: actions/checkout@v5

- uses: devops-infra/action-commit-push@v1.0.2
- uses: devops-infra/action-commit-push@v1.0.3
id: Pin patch version

- uses: devops-infra/action-commit-push@v1.0
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ outputs:
description: Name of the branch code was pushed into
runs:
using: docker
image: docker://devopsinfra/action-commit-push:v1.0.2
image: docker://devopsinfra/action-commit-push:v1.0.3
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
branding:
Expand Down