|
1 | 1 | --- |
2 | | -name: "Updatecli: Check for dependency updates" |
| 2 | +name: "Check dependency(helm chart) updates" |
3 | 3 |
|
4 | 4 | on: |
5 | 5 | workflow_dispatch: |
@@ -36,26 +36,34 @@ jobs: |
36 | 36 | updatecli apply --config ${UPDATECLI_CONFIG_DIR}/deps-charts.yaml > changelog.out 2>&1 |
37 | 37 | if ! git diff --exit-code > /dev/null; then |
38 | 38 | echo "changed=true" >> "${GITHUB_OUTPUT}" |
39 | | - echo "body=$(cat changelog.out | awk 'NR >= 22')" >> "${GITHUB_OUTPUT}" |
40 | 39 | 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} |
41 | 49 | - |
42 | 50 | name: Create pull request |
43 | 51 | if: steps.updatecli-apply.outputs.changed == 'true' |
44 | 52 | uses: peter-evans/create-pull-request@c55203cfde3e5c11a452d352b4393e68b85b4533 #v6.0.3 |
45 | 53 | with: |
46 | 54 | 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 |
49 | 57 | committer: 🤖QC Owl App[bot] <165384878+qc-owl-app[bot]@users.noreply.github.com> |
50 | 58 | signoff: true |
51 | 59 | body: | |
52 | | - 🤖 Updates Dependency Helm Charts |
| 60 | + 🤖 Update dependency helm charts |
53 | 61 |
|
54 | 62 | <details> |
55 | | - <summary> FULL CHANGELOG </summary> |
| 63 | + <summary> FULL TARGETS CHANGELOG </summary> |
56 | 64 | <blockquote> |
57 | 65 |
|
58 | | - ${{ steps.updatecli-apply.outputs.body }} |
| 66 | + ${{ steps.updatecli-apply-changelog.outputs.body }} |
59 | 67 |
|
60 | 68 | </blockquote> |
61 | 69 | </details> |
|
0 commit comments