disable workflows

This commit is contained in:
2025-03-14 11:13:28 -05:00
parent 99ed8cce53
commit bb7fb1eadb
2 changed files with 53 additions and 53 deletions

View File

@@ -1,37 +1,37 @@
name: lint-and-test-charts
# name: lint-and-test-charts
on: pull_request
# on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# jobs:
# lint-test:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: latest
# - name: Set up Helm
# uses: azure/setup-helm@v4
# with:
# version: latest
- uses: actions/setup-python@v5
with:
python-version: "3.13"
check-latest: true
# - uses: actions/setup-python@v5
# with:
# python-version: "3.13"
# check-latest: true
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.7.0
# - name: Set up chart-testing
# uses: helm/chart-testing-action@v2.7.0
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
# - name: Run chart-testing (list-changed)
# id: list-changed
# run: |
# changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
# if [[ -n "$changed" ]]; then
# echo "changed=true" >> "$GITHUB_OUTPUT"
# fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
# - name: Run chart-testing (lint)
# if: steps.list-changed.outputs.changed == 'true'
# run: ct lint --target-branch ${{ github.event.repository.default_branch }}

View File

@@ -1,27 +1,27 @@
name: release-charts
# name: release-charts
on:
push:
branches:
- main
# on:
# push:
# branches:
# - main
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# jobs:
# release:
# permissions:
# contents: write
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
# - name: Configure Git
# run: |
# git config user.name "$GITHUB_ACTOR"
# git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.7.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# - name: Run chart-releaser
# uses: helm/chart-releaser-action@v1.7.0
# env:
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"