diff --git a/README.md b/README.md index a4c4d82..4ac47ff 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ This action supports three tag levels for flexible versioning: ```yaml - name: Run the Action - uses: devops-infra/action-commit-push@v1.1.0 + uses: devops-infra/action-commit-push@v1.2.0 with: github_token: "${{ secrets.GITHUB_TOKEN }}" add_timestamp: true @@ -113,7 +113,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.1.0 + uses: devops-infra/action-commit-push@v1.2.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} commit_message: "Replace foo with bar" @@ -178,7 +178,7 @@ jobs: echo "Additional content" >> README.md - name: Amend and force push with lease - uses: devops-infra/action-commit-push@v1.1.0 + uses: devops-infra/action-commit-push@v1.2.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} 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 1. **Change the commit message**: Set `commit_message` to provide a new message ```yaml - - uses: devops-infra/action-commit-push@v1.1.0 + - uses: devops-infra/action-commit-push@v1.2.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} commit_message: "Fixed typo in documentation" @@ -201,7 +201,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.1.0 + - uses: devops-infra/action-commit-push@v1.2.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} amend: true @@ -247,7 +247,7 @@ jobs: steps: - uses: actions/checkout@v5 - - uses: devops-infra/action-commit-push@v1.1.0 + - uses: devops-infra/action-commit-push@v1.2.0 id: Pin patch version - uses: devops-infra/action-commit-push@v1.1 diff --git a/action.yml b/action.yml index ccb6b8f..41802c3 100644 --- a/action.yml +++ b/action.yml @@ -65,7 +65,7 @@ outputs: description: Name of the branch code was pushed into runs: using: docker - image: docker://devopsinfra/action-commit-push:v1.1.0 + image: docker://devopsinfra/action-commit-push:v1.2.0 env: GITHUB_TOKEN: ${{ inputs.github_token }} branding: