Skip to content

Commit c5fc2c7

Browse files
authored
fix(ci): Incorrect PR title when opening flagsmith-charts PRs (#5821)
1 parent 1297fe4 commit c5fc2c7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/platform-docker-build-test-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ jobs:
247247

248248
- name: Open a PR bumping Flagsmith to ${{ github.event.release.tag_name }}
249249
uses: fjogeleit/yaml-update-action@main
250+
env:
251+
COMMIT_MESSAGE: 'deps: bump Flagsmith from ${{ steps.chart-yaml.outputs.appVersion }} to ${{ steps.version-trim.outputs.version }}'
250252
with:
251253
token: ${{ secrets.FLAGSMITH_CHARTS_GITHUB_TOKEN }}
252254
repository: flagsmith/flagsmith-charts
@@ -256,8 +258,8 @@ jobs:
256258
branch: deps/bump-flagsmith-${{ steps.version-trim.outputs.version }}
257259
commitChange: true
258260
createPR: true
259-
message: 'deps: bump Flagsmith from ${{ steps.chart-yaml.outputs.appVersion }} to ${{ steps.version-trim.outputs.version }}'
260-
title: '{{message}}'
261+
message: ${{ env.COMMIT_MESSAGE }}
262+
title: ${{ env.COMMIT_MESSAGE }}
261263
description: 'Automated PR generated by Flagsmith release [${{ github.event.release.tag_name }}](${{ github.event.release.url }}).'
262264
valueFile: 'charts/flagsmith/Chart.yaml'
263265
changes: |

0 commit comments

Comments
 (0)