Files
charts/.github/workflows/pr-validate.yaml
TrueCharts Bot 90d9b3edfb chore(github-action): update actions/checkout digest to 8e8c483 (#42337)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://redirect.github.com/actions/checkout) |
action | digest | `1af3b93` -> `8e8c483` |

---

> [!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.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xNy4wIiwidXBkYXRlZEluVmVyIjoiNDIuMTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJyZW5vdmF0ZS9naXRodWItYWN0aW9uIiwicmVub3ZhdGUvZ2l0aHViLXJlbGVhc2UiLCJ0eXBlL2RpZ2VzdCJdfQ==-->
2025-12-02 20:08:22 +01:00

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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
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