2022-02-03 15:09:38 +00:00
|
|
|
name: "Pull Request: Validate"
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2022-07-01 05:48:06 +00:00
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- edited
|
|
|
|
- closed
|
|
|
|
- reopened
|
|
|
|
- ready_for_review
|
|
|
|
- synchronize
|
2022-02-03 15:09:38 +00:00
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.head_ref }}-pr-validate
|
2022-05-01 14:49:36 +00:00
|
|
|
cancel-in-progress: true
|
2022-02-03 15:09:38 +00:00
|
|
|
|
|
|
|
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-04 20:04:23 +00:00
|
|
|
charts-changelog:
|
|
|
|
uses: k8s-at-home/charts/.github/workflows/charts-changelog.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
|
2022-02-04 20:04:23 +00:00
|
|
|
- charts-changelog
|
2022-02-03 16:01:29 +00:00
|
|
|
with:
|
2022-02-04 20:04:23 +00:00
|
|
|
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
|
2022-03-29 08:45:22 +00:00
|
|
|
chartChangesDetected: ${{ needs.pr-metadata.outputs.addedOrModified }}
|
2022-02-03 18:39:40 +00:00
|
|
|
|
|
|
|
charts-test:
|
|
|
|
uses: k8s-at-home/charts/.github/workflows/charts-test.yaml@master
|
|
|
|
needs:
|
|
|
|
- pr-metadata
|
2022-02-04 20:04:23 +00:00
|
|
|
- charts-changelog
|
2022-02-03 18:39:40 +00:00
|
|
|
with:
|
2022-02-04 20:04:23 +00:00
|
|
|
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
|
2022-03-29 08:45:22 +00:00
|
|
|
chartChangesDetected: ${{ needs.pr-metadata.outputs.addedOrModified }}
|