From 138835ae989803ba37bab758fe8cec9fa4ac7ba0 Mon Sep 17 00:00:00 2001 From: Alejandro Moreno Date: Thu, 18 Jul 2024 17:02:39 +0200 Subject: [PATCH] Sign automatic release commits (#1568) **Description of the change** - Sign the automatic commits for chart and Carvel releases to pass the DCO Signed-off-by: Alejandro Moreno --- .github/workflows/helm-release.yaml | 2 +- .github/workflows/publish-release.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helm-release.yaml b/.github/workflows/helm-release.yaml index 86eb6d409c..7bd1f7c1b1 100644 --- a/.github/workflows/helm-release.yaml +++ b/.github/workflows/helm-release.yaml @@ -75,7 +75,7 @@ jobs: yq -i '.spec.template.spec.fetch.0.imgpkgBundle.image = "${{ env.carvel_pkg }}"' carvel/package.yaml git checkout -B 'release-carvel-${{ env.chart_version }}' git add carvel/package.yaml - git commit -m 'Release carvel package ${{ env.chart_version }}' + git commit -sm 'Release carvel package ${{ env.chart_version }}' git push origin 'release-carvel-${{ env.chart_version }}' - name: Create PR diff --git a/.github/workflows/publish-release.yaml b/.github/workflows/publish-release.yaml index d27509d2e2..ba45f08111 100644 --- a/.github/workflows/publish-release.yaml +++ b/.github/workflows/publish-release.yaml @@ -186,7 +186,7 @@ jobs: sed -i "s/\`$PREV_VERSION\`/\`$NEW_VERSION\`/" helm/sealed-secrets/README.md git checkout -B 'release-chart-${{ inputs.chart }}' git add helm/sealed-secrets/Chart.yaml helm/sealed-secrets/values.yaml helm/sealed-secrets/README.md - git commit -m 'Release chart ${{ inputs.chart }}' + git commit -sm 'Release chart ${{ inputs.chart }}' git push origin 'release-chart-${{ inputs.chart }}' - name: Create PR