2022-02-03 15:09:38 +00:00
|
|
|
name: "Pull Request: Validate"
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.head_ref }}-pr-validate
|
|
|
|
# cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
2022-02-03 16:01:29 +00:00
|
|
|
pr-metadata:
|
2022-02-04 09:05:06 +00:00
|
|
|
uses: k8s-at-home/charts/.github/workflows/pr-metadata.yaml@master
|
2022-02-03 15:44:15 +00:00
|
|
|
|
2022-02-03 18:39:40 +00:00
|
|
|
pre-commit-check:
|
|
|
|
uses: k8s-at-home/charts/.github/workflows/pre-commit-check.yaml@master
|
|
|
|
needs:
|
|
|
|
- pr-metadata
|
|
|
|
with:
|
|
|
|
modifiedFiles: ${{ needs.pr-metadata.outputs.addedOrModifiedFiles }}
|
|
|
|
|
2022-02-03 16:01:29 +00:00
|
|
|
charts-readme:
|
2022-02-04 09:05:06 +00:00
|
|
|
uses: k8s-at-home/charts/.github/workflows/charts-readme.yaml@master
|
2022-02-03 15:44:15 +00:00
|
|
|
needs:
|
2022-02-03 16:01:29 +00:00
|
|
|
- pr-metadata
|
2022-02-03 18:39:40 +00:00
|
|
|
- pre-commit-check
|
2022-02-03 15:44:15 +00:00
|
|
|
with:
|
2022-02-03 16:01:29 +00:00
|
|
|
isRenovatePR: ${{ needs.pr-metadata.outputs.isRenovatePR }}
|
|
|
|
modifiedCharts: ${{ needs.pr-metadata.outputs.addedOrModifiedCharts }}
|
|
|
|
|
|
|
|
charts-lint:
|
|
|
|
uses: k8s-at-home/charts/.github/workflows/charts-lint.yaml@master
|
|
|
|
needs:
|
|
|
|
- pr-metadata
|
|
|
|
- charts-readme
|
|
|
|
with:
|
|
|
|
checkoutCommit: ${{ needs.charts-readme.outputs.commitHash }}
|
2022-02-03 18:39:40 +00:00
|
|
|
|
|
|
|
charts-test:
|
|
|
|
uses: k8s-at-home/charts/.github/workflows/charts-test.yaml@master
|
|
|
|
needs:
|
|
|
|
- pr-metadata
|
|
|
|
- charts-readme
|
|
|
|
- charts-lint
|
|
|
|
with:
|
|
|
|
checkoutCommit: ${{ needs.charts-readme.outputs.commitHash }}
|