disable workflows
This commit is contained in:
60
.github/workflows/lint-test.yaml
vendored
60
.github/workflows/lint-test.yaml
vendored
@@ -1,37 +1,37 @@
|
|||||||
name: lint-and-test-charts
|
# name: lint-and-test-charts
|
||||||
|
|
||||||
on: pull_request
|
# on: pull_request
|
||||||
|
|
||||||
jobs:
|
# jobs:
|
||||||
lint-test:
|
# lint-test:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 0
|
# fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Helm
|
# - name: Set up Helm
|
||||||
uses: azure/setup-helm@v4
|
# uses: azure/setup-helm@v4
|
||||||
with:
|
# with:
|
||||||
version: latest
|
# version: latest
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
# - uses: actions/setup-python@v5
|
||||||
with:
|
# with:
|
||||||
python-version: "3.13"
|
# python-version: "3.13"
|
||||||
check-latest: true
|
# check-latest: true
|
||||||
|
|
||||||
- name: Set up chart-testing
|
# - name: Set up chart-testing
|
||||||
uses: helm/chart-testing-action@v2.7.0
|
# uses: helm/chart-testing-action@v2.7.0
|
||||||
|
|
||||||
- name: Run chart-testing (list-changed)
|
# - name: Run chart-testing (list-changed)
|
||||||
id: list-changed
|
# id: list-changed
|
||||||
run: |
|
# run: |
|
||||||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
|
# changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
|
||||||
if [[ -n "$changed" ]]; then
|
# if [[ -n "$changed" ]]; then
|
||||||
echo "changed=true" >> "$GITHUB_OUTPUT"
|
# echo "changed=true" >> "$GITHUB_OUTPUT"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
- name: Run chart-testing (lint)
|
# - name: Run chart-testing (lint)
|
||||||
if: steps.list-changed.outputs.changed == 'true'
|
# if: steps.list-changed.outputs.changed == 'true'
|
||||||
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
|
# run: ct lint --target-branch ${{ github.event.repository.default_branch }}
|
||||||
|
46
.github/workflows/release.yml
vendored
46
.github/workflows/release.yml
vendored
@@ -1,27 +1,27 @@
|
|||||||
name: release-charts
|
# name: release-charts
|
||||||
|
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- main
|
# - main
|
||||||
|
|
||||||
jobs:
|
# jobs:
|
||||||
release:
|
# release:
|
||||||
permissions:
|
# permissions:
|
||||||
contents: write
|
# contents: write
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 0
|
# fetch-depth: 0
|
||||||
|
|
||||||
- name: Configure Git
|
# - name: Configure Git
|
||||||
run: |
|
# run: |
|
||||||
git config user.name "$GITHUB_ACTOR"
|
# git config user.name "$GITHUB_ACTOR"
|
||||||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
# git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||||
|
|
||||||
- name: Run chart-releaser
|
# - name: Run chart-releaser
|
||||||
uses: helm/chart-releaser-action@v1.7.0
|
# uses: helm/chart-releaser-action@v1.7.0
|
||||||
env:
|
# env:
|
||||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
Reference in New Issue
Block a user