Update charts-release.yaml
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
@@ -14,8 +14,6 @@ jobs:
|
|||||||
|
|
||||||
release-helm:
|
release-helm:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
|
||||||
ref: ${{ steps.save-commit-hash.outputs.commit_hash }}
|
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/truecharts/devcontainer:v3.1.1@sha256:3b53132c6c6e14393f8f69e64e2237c8460a466753c285542324aa993ed1795d
|
image: ghcr.io/truecharts/devcontainer:v3.1.1@sha256:3b53132c6c6e14393f8f69e64e2237c8460a466753c285542324aa993ed1795d
|
||||||
steps:
|
steps:
|
||||||
@@ -27,8 +25,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Checkout Helm-Staging
|
- name: Checkout Helm-Staging
|
||||||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||||
if: |
|
|
||||||
steps.collect-changes.outputs.changesDetectedAfterTag == 'true'
|
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
repository: truecharts/helm-staging
|
repository: truecharts/helm-staging
|
||||||
@@ -37,8 +33,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Fix Pre-Commit issues
|
- name: Fix Pre-Commit issues
|
||||||
shell: bash
|
shell: bash
|
||||||
if: |
|
|
||||||
steps.collect-changes.outputs.changesDetectedAfterTag == 'true'
|
|
||||||
run: |
|
run: |
|
||||||
echo "Running pre-commit test-and-cleanup..."
|
echo "Running pre-commit test-and-cleanup..."
|
||||||
pre-commit run --all ||:
|
pre-commit run --all ||:
|
||||||
@@ -46,16 +40,12 @@ jobs:
|
|||||||
find . -name '*.sh' | xargs chmod +x
|
find . -name '*.sh' | xargs chmod +x
|
||||||
|
|
||||||
- name: Commit Helm Changes
|
- name: Commit Helm Changes
|
||||||
if: |
|
|
||||||
steps.collect-changes.outputs.changesDetected == 'true'
|
|
||||||
run: |
|
run: |
|
||||||
rm -rf helm/charts
|
rm -rf helm/charts
|
||||||
mkdir helm/charts
|
mkdir helm/charts
|
||||||
cp -rf charts helm/charts
|
cp -rf charts helm/charts
|
||||||
|
|
||||||
- name: Commit Helm Changes
|
- name: Commit Helm Changes
|
||||||
if: |
|
|
||||||
steps.collect-changes.outputs.changesDetected == 'true'
|
|
||||||
run: |
|
run: |
|
||||||
cd helm
|
cd helm
|
||||||
git config user.name "TrueCharts-Bot"
|
git config user.name "TrueCharts-Bot"
|
||||||
|
|||||||
Reference in New Issue
Block a user