mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
ci: Check changelog action (#14)
This commit is contained in:
parent
8ed61737dc
commit
49ebc2bb2f
15 changed files with 30162 additions and 20 deletions
11
.github/workflows/charts-lint.yaml
vendored
11
.github/workflows/charts-lint.yaml
vendored
|
@ -6,6 +6,10 @@ on:
|
|||
checkoutCommit:
|
||||
required: true
|
||||
type: string
|
||||
isRenovatePR:
|
||||
required: true
|
||||
default: 'false'
|
||||
type: string
|
||||
chartsToLint:
|
||||
description: >
|
||||
A JSON encoded array of charts to lint
|
||||
|
@ -37,6 +41,13 @@ jobs:
|
|||
with:
|
||||
chart: "charts/${{ matrix.chart }}"
|
||||
|
||||
- name: Verify chart changelog
|
||||
uses: ./.github/actions/verify-chart-changelog
|
||||
if: inputs.isRenovatePR != 'true'
|
||||
id: verify-chart-changelog
|
||||
with:
|
||||
chart: "charts/${{ matrix.chart }}"
|
||||
|
||||
- name: Install Kubernetes tools
|
||||
uses: yokawasa/action-setup-kube-tools@v0.8.2
|
||||
with:
|
||||
|
|
24
.github/workflows/pr-validate.yaml
vendored
24
.github/workflows/pr-validate.yaml
vendored
|
@ -18,44 +18,34 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
pr-metadata:
|
||||
uses: bjw-s/helm-charts/.github/workflows/pr-metadata.yaml@main
|
||||
uses: bjw-s/helm-charts/.github/workflows/pr-metadata.yaml@changelog-action
|
||||
|
||||
pre-commit-check:
|
||||
uses: bjw-s/helm-charts/.github/workflows/pre-commit-check.yaml@main
|
||||
uses: bjw-s/helm-charts/.github/workflows/pre-commit-check.yaml@changelog-action
|
||||
needs:
|
||||
- pr-metadata
|
||||
with:
|
||||
modifiedFiles: ${{ needs.pr-metadata.outputs.addedOrModifiedFiles }}
|
||||
|
||||
# charts-changelog:
|
||||
# uses: bjw-s/helm-charts/.github/workflows/charts-changelog.yaml@main
|
||||
# needs:
|
||||
# - pr-metadata
|
||||
# - pre-commit-check
|
||||
# with:
|
||||
# isRenovatePR: ${{ needs.pr-metadata.outputs.isRenovatePR }}
|
||||
# modifiedCharts: ${{ needs.pr-metadata.outputs.addedOrModifiedCharts }}
|
||||
|
||||
charts-lint:
|
||||
uses: bjw-s/helm-charts/.github/workflows/charts-lint.yaml@main
|
||||
uses: bjw-s/helm-charts/.github/workflows/charts-lint.yaml@changelog-action
|
||||
needs:
|
||||
- pr-metadata
|
||||
# - charts-changelog
|
||||
with:
|
||||
checkoutCommit: ${{ github.sha }}
|
||||
chartsToLint: ${{ needs.pr-metadata.outputs.chartsToLint }}
|
||||
isRenovatePR: ${{ needs.pr-metadata.outputs.isRenovatePR }}
|
||||
|
||||
charts-test:
|
||||
uses: bjw-s/helm-charts/.github/workflows/charts-test.yaml@main
|
||||
uses: bjw-s/helm-charts/.github/workflows/charts-test.yaml@changelog-action
|
||||
needs:
|
||||
- pr-metadata
|
||||
# - charts-changelog
|
||||
with:
|
||||
checkoutCommit: ${{ github.sha }}
|
||||
chartsToTest: ${{ needs.pr-metadata.outputs.chartsToInstall }}
|
||||
|
||||
library-charts-test:
|
||||
uses: bjw-s/helm-charts/.github/workflows/charts-test.yaml@main
|
||||
uses: bjw-s/helm-charts/.github/workflows/charts-test.yaml@changelog-action
|
||||
needs:
|
||||
- pr-metadata
|
||||
with:
|
||||
|
@ -70,4 +60,4 @@ jobs:
|
|||
overrideDeps: |-
|
||||
[
|
||||
{"name": "common", "repository": "file://../../library/common", "version": "*"}
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue