2022-03-30 04:29:49 -04:00
|
|
|
name: "Pull Request: Validate"
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.head_ref }}-pr-validate
|
|
|
|
# cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
2022-03-30 04:35:37 -04:00
|
|
|
pr-metadata:
|
2022-03-30 04:51:01 -04:00
|
|
|
uses: ./.github/workflows/pr-metadata.yaml
|
2022-03-30 04:35:37 -04:00
|
|
|
|
2022-03-30 04:29:49 -04:00
|
|
|
pre-commit-check:
|
2022-03-30 04:52:34 -04:00
|
|
|
uses: truecharts/.github/.github/workflows/pre-commit-check.yaml@main
|
2022-03-30 04:35:37 -04:00
|
|
|
needs:
|
|
|
|
- pr-metadata
|
2022-03-30 04:29:49 -04:00
|
|
|
with:
|
|
|
|
modifiedFiles: ${{ needs.pr-metadata.outputs.addedOrModifiedFiles }}
|
|
|
|
|
|
|
|
#charts-changelog:
|
2022-03-30 04:51:01 -04:00
|
|
|
# uses: ./.github/workflows/charts-changelog.yaml
|
2022-03-30 04:29:49 -04:00
|
|
|
# needs:
|
|
|
|
# - pr-metadata
|
|
|
|
# - pre-commit-check
|
|
|
|
# with:
|
|
|
|
# isRenovatePR: ${{ needs.pr-metadata.outputs.isRenovatePR }}
|
|
|
|
# modifiedCharts: ${{ needs.pr-metadata.outputs.addedOrModifiedCharts }}
|
|
|
|
|
|
|
|
charts-lint:
|
2022-03-30 04:51:01 -04:00
|
|
|
uses: ./.github/workflows/charts-lint.yaml
|
2022-03-30 04:35:37 -04:00
|
|
|
needs:
|
|
|
|
- pr-metadata
|
2022-03-30 04:29:49 -04:00
|
|
|
# - charts-changelog
|
|
|
|
with:
|
|
|
|
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
|
|
|
|
chartChangesDetected: ${{ needs.pr-metadata.outputs.addedOrModified }}
|
|
|
|
|
|
|
|
charts-test:
|
2022-03-30 04:51:01 -04:00
|
|
|
uses: ./.github/workflows/charts-test.yaml
|
2022-03-30 04:29:49 -04:00
|
|
|
needs:
|
2022-03-30 04:35:37 -04:00
|
|
|
- pr-metadata
|
2022-03-30 04:29:49 -04:00
|
|
|
# - charts-changelog
|
|
|
|
- charts-lint
|
|
|
|
with:
|
|
|
|
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
|
|
|
|
chartChangesDetected: ${{ needs.pr-metadata.outputs.addedOrModified }}
|