File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,28 +237,28 @@ jobs:
237237 - name : Set up release tag variables
238238 id : version-trim
239239 run : |
240- TAG=${{github.ref_name }}
240+ TAG=${{ github.event.release.tag_name }}
241241 echo "version=${TAG#v}" >> $GITHUB_OUTPUT
242242
243- - name : Run YAML to Github Output Action
244- id : yaml-output
245- uses : christian-ci/action-yaml-github-output@v2
243+ - uses : actions-tools/yaml-outputs@v2
244+ id : chart-yaml
246245 with :
247- file_path : ' ./chart/charts/flagsmith/Chart.yaml'
246+ file-path : ./chart/charts/flagsmith/Chart.yaml
248247
249- - name : Update flagsmith-charts values.yaml with latest docker version
248+ - name : Open a PR bumping Flagsmith to ${{ github.event.release.tag_name }}
250249 uses : fjogeleit/yaml-update-action@main
251250 with :
252251 token : ${{ secrets.FLAGSMITH_CHARTS_GITHUB_TOKEN }}
253252 repository : flagsmith/flagsmith-charts
254253 workDir : chart
255254 masterBranchName : ' main'
256255 targetBranch : ' main'
257- branch : docker-image-version- bump-${{ steps.version-trim.outputs.version }}
256+ branch : deps/ bump-flagsmith -${{ steps.version-trim.outputs.version }}
258257 commitChange : true
259258 createPR : true
260- message : ' Flagsmith docker image version bump'
261- description : ' Automated PR generated by a release event in https://github.com/Flagsmith/flagsmith'
259+ message : ' deps: bump Flagsmith from ${{ steps.chart-yaml.outputs.appVersion }} to ${{ steps.version-trim.outputs.version }}'
260+ title : ' {{message}}'
261+ description : ' Automated PR generated by Flagsmith release [${{ github.event.release.tag_name }}](${{ github.event.release.url }}).'
262262 valueFile : ' charts/flagsmith/Chart.yaml'
263263 changes : |
264264 {
You can’t perform that action at this time.
0 commit comments