chore(ci): try using more global defined .github options
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
name: "Pull Request: Validate"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}-pr-validate
|
||||
# cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
#pr-metadata:
|
||||
# uses: truecharts/.github/workflows/pr-metadata.yaml@master
|
||||
#
|
||||
pre-commit-check:
|
||||
uses: truecharts/.github/workflows/pre-commit-check.yaml@master
|
||||
# needs:
|
||||
# - pr-metadata
|
||||
with:
|
||||
modifiedFiles: ${{ needs.pr-metadata.outputs.addedOrModifiedFiles }}
|
||||
|
||||
#charts-changelog:
|
||||
# uses: truecharts/.github/workflows/charts-changelog.yaml@master
|
||||
# needs:
|
||||
# - pr-metadata
|
||||
# - pre-commit-check
|
||||
# with:
|
||||
# isRenovatePR: ${{ needs.pr-metadata.outputs.isRenovatePR }}
|
||||
# modifiedCharts: ${{ needs.pr-metadata.outputs.addedOrModifiedCharts }}
|
||||
|
||||
charts-lint:
|
||||
uses: truecharts/.github/workflows/charts-lint.yaml@master
|
||||
#needs:
|
||||
# - pr-metadata
|
||||
# - charts-changelog
|
||||
with:
|
||||
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
|
||||
chartChangesDetected: ${{ needs.pr-metadata.outputs.addedOrModified }}
|
||||
|
||||
charts-test:
|
||||
uses: truecharts/.github/workflows/charts-test.yaml@master
|
||||
needs:
|
||||
# - pr-metadata
|
||||
# - charts-changelog
|
||||
- charts-lint
|
||||
with:
|
||||
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
|
||||
chartChangesDetected: ${{ needs.pr-metadata.outputs.addedOrModified }}
|
||||
Reference in New Issue
Block a user