Skip to content

Commit eae0db8

Browse files
committed
1 parent 17e3c7f commit eae0db8

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/updatecli.yaml renamed to .github/workflows/updatecli.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: "Updatecli: Check for dependency updates"
2+
name: "Check dependency(helm chart) updates"
33

44
on:
55
workflow_dispatch:
@@ -36,26 +36,34 @@ jobs:
3636
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/deps-charts.yaml > changelog.out 2>&1
3737
if ! git diff --exit-code > /dev/null; then
3838
echo "changed=true" >> "${GITHUB_OUTPUT}"
39-
echo "body=$(cat changelog.out | awk 'NR >= 22')" >> "${GITHUB_OUTPUT}"
4039
fi
40+
-
41+
name: Copy updatecli apply changelog
42+
if: steps.updatecli-apply.outputs.changed == 'true'
43+
id: updatecli-apply-changelog
44+
run: |
45+
echo "body<<EOF" >> ${GITHUB_OUTPUT}
46+
# here we can place the command that will generate multi-line text
47+
echo "$(cat changelog.out | awk '/^TARGETS$/,0')" >> "${GITHUB_OUTPUT}"
48+
echo "EOF" >> ${GITHUB_OUTPUT}
4149
-
4250
name: Create pull request
4351
if: steps.updatecli-apply.outputs.changed == 'true'
4452
uses: peter-evans/create-pull-request@c55203cfde3e5c11a452d352b4393e68b85b4533 #v6.0.3
4553
with:
4654
token: ${{ steps.app-token.outputs.token }}
47-
title: "[updatecli] Bump dependency helm charts version to latest"
48-
commit-message: Updates dependency helm charts
55+
title: "[updatecli] Bump dependency helm charts version"
56+
commit-message: Update dependency helm charts
4957
committer: 🤖QC Owl App[bot] <165384878+qc-owl-app[bot]@users.noreply.github.com>
5058
signoff: true
5159
body: |
52-
🤖 Updates Dependency Helm Charts
60+
🤖 Update dependency helm charts
5361
5462
<details>
55-
<summary> FULL CHANGELOG </summary>
63+
<summary> FULL TARGETS CHANGELOG </summary>
5664
<blockquote>
5765
58-
${{ steps.updatecli-apply.outputs.body }}
66+
${{ steps.updatecli-apply-changelog.outputs.body }}
5967
6068
</blockquote>
6169
</details>

0 commit comments

Comments
 (0)