Skip to content

Commit

Permalink
fix PR title, branch and body format
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Mar 9, 2023
1 parent f2366ff commit cbebdc3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/update_golang_version.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Update Golang Version

on:
# Triggers the workflow every day
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
pull_request:

jobs:
update_golang_version:
# strategy:
# matrix:
# branches: [ main, release-16.0, release-15.0, release-14.0 ]
name: Update Golang Version
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -44,12 +46,13 @@ jobs:
if: steps.detect-and-update.outputs.create-pr == 'true'
uses: peter-evans/create-pull-request@v4
with:
commit-message: "bump go version to go${steps.detect-and-update.outputs.go-version}"
branch: "upgrade-go-to-${{steps.detect-and-update.outputs.go-version}}-on-${{github.ref}}"
commit-message: "bump go version to go${{steps.detect-and-update.outputs.go-version}}"
signoff: true
delete-branch: true
title: "Upgrade the Golang version to `go${steps.detect-and-update.outputs.go-version}`"
title: "Upgrade the Golang version to `go${{steps.detect-and-update.outputs.go-version}}`"
body: |
This Pull Request bumps the Golang version to `go${steps.detect-and-update.outputs.go-version}` and the bootstrap version to `${steps.detect-and-update.outputs.bootstrap-version}`.
This Pull Request bumps the Golang version to `go${{steps.detect-and-update.outputs.go-version}}` and the bootstrap version to `${{steps.detect-and-update.outputs.bootstrap-version}}`.
There are a few manual steps remaining:
- Build and Push the bootstrap images to Docker Hub, the bot cannot handle that.
Expand Down

0 comments on commit cbebdc3

Please sign in to comment.