a967906d55
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | major | `df4cb1c` → `9c091bb` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/18710) 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> ### [`v7`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700) [Compare Source](https://redirect.github.com/actions/checkout/compare/v6...v7) - Block checking out fork PR for pull\_request\_target and workflow\_run by [@​aiqiaoy](https://redirect.github.com/aiqiaoy) in [#​2454](https://redirect.github.com/actions/checkout/pull/2454) - Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the minor-actions-dependencies group across 1 directory by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​2458](https://redirect.github.com/actions/checkout/pull/2458) - Bump flatted from 3.3.1 to 3.4.2 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​2460](https://redirect.github.com/actions/checkout/pull/2460) - Bump js-yaml from 4.1.0 to 4.2.0 by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​2461](https://redirect.github.com/actions/checkout/pull/2461) - Bump [@​actions/core](https://redirect.github.com/actions/core) and [@​actions/tool-cache](https://redirect.github.com/actions/tool-cache) and Remove uuid by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​2459](https://redirect.github.com/actions/checkout/pull/2459) - upgrade module to esm and update dependencies by [@​aiqiaoy](https://redirect.github.com/aiqiaoy) in [#​2463](https://redirect.github.com/actions/checkout/pull/2463) - Bump the minor-npm-dependencies group across 1 directory with 3 updates by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​2462](https://redirect.github.com/actions/checkout/pull/2462) </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjQzLjEzMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImFwcC93b3JrZmxvd3MiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJyZW5vdmF0ZS9naXRodWItYWN0aW9uIiwicmVub3ZhdGUvZ2l0aHViLXJlbGVhc2UiLCJ0eXBlL21ham9yIl19-->
100 lines
3.1 KiB
YAML
100 lines
3.1 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:
|
|
group: default
|
|
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
|
|
|
- name: Collect changes
|
|
id: collect-changes
|
|
uses: ./.github/actions/collect-changes
|
|
|
|
common-tests:
|
|
uses: ./.github/workflows/common-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:
|
|
group: default
|
|
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
|
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:
|
|
group: default
|
|
if: always()
|
|
needs:
|
|
- pr-changes
|
|
- charts-lint
|
|
- charts-test
|
|
- website-and-docs
|
|
- print_head_msg
|
|
- common-tests
|
|
steps:
|
|
- name: Check Results
|
|
run: |
|
|
if [[ "${{ needs.pr-changes.result }}" != "success" || \
|
|
"${{ needs.charts-lint.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
|