Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the default user for proposing new patch releases
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <[email protected]>
saschagrunert committed Apr 19, 2024
1 parent a0a1ff7 commit e183b88
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/patch-release.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
patch-release:
permissions:
contents: none
if: github.ref == 'refs/heads/main'
# if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -22,3 +22,4 @@ jobs:
- run: make patch-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
ORG: saschagrunert
2 changes: 1 addition & 1 deletion scripts/patch-release/patch-release.go
Original file line number Diff line number Diff line change
@@ -155,7 +155,7 @@ func updateVersionAndCreatePR(
return fmt.Errorf("add file %s to repo: %w", versionFile, err)
}

if err := repo.UserCommit(
if err := repo.Commit(
"version: bump to " + newVersion.String(),
); err != nil {
return fmt.Errorf("commit changes: %w", err)

0 comments on commit e183b88

Please sign in to comment.