0064a2163b
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pascalgn/automerge-action](https://redirect.github.com/pascalgn/automerge-action) | action | patch | `v0.16.3` -> `v0.16.4` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>pascalgn/automerge-action (pascalgn/automerge-action)</summary> ### [`v0.16.4`](https://redirect.github.com/pascalgn/automerge-action/releases/tag/v0.16.4): Release 0.16.4 [Compare Source](https://redirect.github.com/pascalgn/automerge-action/compare/v0.16.3...v0.16.4) #### What's Changed - Allow set of `MAX_PR_COUNT` from environment by [@​agershman](https://redirect.github.com/agershman) in [https://github.com/pascalgn/automerge-action/pull/286](https://redirect.github.com/pascalgn/automerge-action/pull/286) - Fix permissions configuration in README example by [@​zimagen](https://redirect.github.com/zimagen) in [https://github.com/pascalgn/automerge-action/pull/285](https://redirect.github.com/pascalgn/automerge-action/pull/285) #### New Contributors - [@​agershman](https://redirect.github.com/agershman) made their first contribution in [https://github.com/pascalgn/automerge-action/pull/286](https://redirect.github.com/pascalgn/automerge-action/pull/286) - [@​zimagen](https://redirect.github.com/zimagen) made their first contribution in [https://github.com/pascalgn/automerge-action/pull/285](https://redirect.github.com/pascalgn/automerge-action/pull/285) **Full Changelog**: https://github.com/pascalgn/automerge-action/compare/v0.16.3...v0.16.4 </details> --- ### 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:eyJjcmVhdGVkSW5WZXIiOiIzOC45My4yIiwidXBkYXRlZEluVmVyIjoiMzguOTMuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
82 lines
2.8 KiB
YAML
82 lines
2.8 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
|
|
- name: Collect changes
|
|
id: collect-changes
|
|
uses: ./.github/actions/collect-changes
|
|
|
|
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 }}
|
|
|
|
print_head_msg:
|
|
name: print commit message
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
head-commit-message: ${{ steps.get_head_commit_message.outputs.headCommitMsg }}
|
|
steps:
|
|
- name: Get repo
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
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)"
|
|
|
|
automerge-and-approve:
|
|
needs:
|
|
- pr-changes
|
|
- charts-test
|
|
- charts-lint
|
|
- print_head_msg
|
|
if: ${{ contains( needs.print_head_msg.outputs.head-commit-message, 'By Renovate' ) || contains( needs.print_head_msg.outputs.head-commit-message, '.all-contributorsrc' ) }}
|
|
name: Automerge and Approve build
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: hmarr/auto-approve-action@v3
|
|
with:
|
|
github-token: "${{ secrets.OR_PAT }}"
|
|
- name: automerge
|
|
uses: pascalgn/automerge-action@7961b8b5eec56cc088c140b56d864285eabd3f67 # v0.16.4
|
|
env:
|
|
GITHUB_TOKEN: "${{ secrets.BOT_TOKEN }}"
|
|
UPDATE_RETRIES: 12
|
|
UPDATE_RETRY_SLEEP: 60000
|
|
MERGE_METHOD: squash
|