Skip to content

Commit

Permalink
ci: fix push-version-commit on detached HEADs (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmacha authored May 18, 2024
1 parent 3fdf781 commit 8d90f97
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ on:
required: false
type: boolean
default: false
push-version-branch:
required: false
type: string
default: main

jobs:
build:
Expand All @@ -55,6 +59,7 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5
if: ${{ inputs.push-version-commit == true }}
with:
branch: ${{ inputs.push-version-branch }}
commit_options: --no-verify --signoff
file_pattern: CMakeLists.txt
commit_user_name: Nekobocik
Expand Down

0 comments on commit 8d90f97

Please sign in to comment.