fix(github): Copy-pasta error on Action digest (#2373)
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com> Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
parent
83c3bc8115
commit
c3c588038d
1 changed files with 4 additions and 1 deletions
5
.github/workflows/chart-version-bump.yml
vendored
5
.github/workflows/chart-version-bump.yml
vendored
|
@ -19,11 +19,13 @@ jobs:
|
||||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@https://github.com/tj-actions/changed-files/commit/1c938490c880156b746568a518594309cfb3f66b # v40.2.1
|
uses: tj-actions/changed-files@1c938490c880156b746568a518594309cfb3f66b # v40.2.1
|
||||||
with:
|
with:
|
||||||
files: charts/{argo-workflows,argo-cd,argo-events,argo-rollouts,argocd-image-updater}/Chart.yaml
|
files: charts/{argo-workflows,argo-cd,argo-events,argo-rollouts,argocd-image-updater}/Chart.yaml
|
||||||
|
|
||||||
- name: "Bump Version and Changelog"
|
- name: "Bump Version and Changelog"
|
||||||
run: |
|
run: |
|
||||||
chartName="$(echo \"${{ steps.changed-files.outputs.all_changed_files }}\" | cut -d '/' -f2)"
|
chartName="$(echo \"${{ steps.changed-files.outputs.all_changed_files }}\" | cut -d '/' -f2)"
|
||||||
|
@ -47,6 +49,7 @@ jobs:
|
||||||
echo " - kind: changed" >> ${parentDir}/Chart.yaml
|
echo " - kind: changed" >> ${parentDir}/Chart.yaml
|
||||||
echo " description: Bump ${chartName} to ${appVersion}" >> ${parentDir}/Chart.yaml
|
echo " description: Bump ${chartName} to ${appVersion}" >> ${parentDir}/Chart.yaml
|
||||||
cat ${parentDir}/Chart.yaml
|
cat ${parentDir}/Chart.yaml
|
||||||
|
|
||||||
- name: "Commit and push changes"
|
- name: "Commit and push changes"
|
||||||
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0
|
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue