mirror of
https://github.com/truecharts/charts.git
synced 2026-07-06 05:41:24 -03:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | major | `08eba0b` -> `08c6903` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v5`](https://redirect.github.com/actions/checkout/compare/v4...v5) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4...v5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS41My4xIiwidXBkYXRlZEluVmVyIjoiNDEuNTMuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJyZW5vdmF0ZS9naXRodWItYWN0aW9uIiwicmVub3ZhdGUvZ2l0aHViLXJlbGVhc2UiLCJ0eXBlL21ham9yIl19-->
107 lines
3.4 KiB
YAML
107 lines
3.4 KiB
YAML
name: "Pull Request: Validate"
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.head_ref }}-pr-validate
|
|
# cancel-in-progress: true
|
|
|
|
jobs:
|
|
pr-changes:
|
|
name: Collect PR changes
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
addedOrModified: ${{ steps.collect-changes.outputs.changesDetected }}
|
|
addedOrModifiedFiles: ${{ steps.collect-changes.outputs.addedOrModifiedFiles }}
|
|
addedOrModifiedCharts: ${{ steps.collect-changes.outputs.addedOrModifiedCharts }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
|
|
- name: Collect changes
|
|
id: collect-changes
|
|
uses: ./.github/actions/collect-changes
|
|
|
|
containers-build:
|
|
uses: ./.github/workflows/containers.build.yaml
|
|
|
|
common-tests:
|
|
uses: ./.github/workflows/common-tests.yaml
|
|
|
|
clustertool-tests:
|
|
uses: ./.github/workflows/clustertool.tests.yaml
|
|
|
|
charts-lint:
|
|
uses: ./.github/workflows/charts-lint.yaml
|
|
needs:
|
|
- pr-changes
|
|
with:
|
|
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
|
|
chartChangesDetected: ${{ needs.pr-changes.outputs.addedOrModified }}
|
|
modifiedFiles: ${{ needs.pr-changes.outputs.addedOrModifiedFiles }}
|
|
modifiedCharts: ${{ needs.pr-changes.outputs.addedOrModifiedCharts }}
|
|
|
|
charts-test:
|
|
uses: ./.github/workflows/charts-test.yaml
|
|
needs:
|
|
- pr-changes
|
|
- charts-lint
|
|
with:
|
|
checkoutCommit: ${{ needs.charts-changelog.outputs.commitHash }}
|
|
chartChangesDetected: ${{ needs.pr-changes.outputs.addedOrModified }}
|
|
modifiedCharts: ${{ needs.pr-changes.outputs.addedOrModifiedCharts }}
|
|
|
|
website-and-docs:
|
|
uses: ./.github/workflows/charts-release.yaml
|
|
|
|
print_head_msg:
|
|
name: Print commit message
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
head-commit-message: ${{ steps.get_head_commit_message.outputs.headCommitMsg }}
|
|
pr-title: ${{ github.event.pull_request.title }}
|
|
steps:
|
|
- name: Get repo
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
- name: verbose head git commit message
|
|
run: echo "$(git show -s --format=%s)"
|
|
- name: Print head git commit message
|
|
id: get_head_commit_message
|
|
run: echo "::set-output name=headCommitMsg::$(git show -s --format=%s)"
|
|
- name: Print PR title
|
|
run: |
|
|
echo "PR title: ${{ github.event.pull_request.title }}"
|
|
|
|
finished:
|
|
name: Finished PR Tests
|
|
runs-on: ubuntu-latest
|
|
if: always()
|
|
needs:
|
|
- pr-changes
|
|
- containers-build
|
|
- charts-lint
|
|
- charts-test
|
|
- clustertool-tests
|
|
- website-and-docs
|
|
- print_head_msg
|
|
- common-tests
|
|
steps:
|
|
- name: Check Results
|
|
run: |
|
|
if [[ "${{ needs.pr-changes.result }}" != "success" || \
|
|
"${{ needs.containers-build.result }}" != "success" || \
|
|
"${{ needs.charts-lint.result }}" != "success" || \
|
|
"${{ needs.clustertool-tests.result }}" != "success" || \
|
|
"${{ needs.charts-test.result }}" != "success" || \
|
|
"${{ needs.website-and-docs.result }}" != "success" || \
|
|
"${{ needs.common-tests.result }}" != "success" || \
|
|
"${{ needs.print_head_msg.result }}" != "success" ]]; then
|
|
echo "One or more jobs failed!"
|
|
exit 1
|
|
else
|
|
echo "All jobs succeeded!"
|
|
fi
|