mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 09:09:17 -03:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v3` -> `v4` | | [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v3.6.0` -> `v4.1.0` | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410) [Compare Source](https://togithub.com/actions/checkout/compare/v3...v4) - [Add support for partial checkout filters](https://togithub.com/actions/checkout/pull/1396) </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44MC4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTAzLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> --------- Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: "Pre-commit consistency check"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.head_ref }}-precommit
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
pre-commit-check:
|
|
name: Run pre-commit checks
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: dorny/paths-filter@v2
|
|
id: filter
|
|
with:
|
|
list-files: shell
|
|
filters: |
|
|
addedOrModified:
|
|
- added|modified: '**'
|
|
|
|
# run only if changed files were detected
|
|
- name: Run against changes
|
|
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # tag=v3.0.0
|
|
if: steps.filter.outputs.addedOrModified == 'true'
|
|
with:
|
|
extra_args: --files ${{ steps.filter.outputs.addedOrModified_files }}
|
|
|
|
# run if no changed files were detected (e.g. workflow_dispatch on master branch)
|
|
- name: Run against all files
|
|
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # tag=v3.0.0
|
|
if: steps.filter.outputs.addedOrModified != 'true'
|
|
with:
|
|
extra_args: --all-files
|