mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 14:45:10 -03:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | digest | `755da8c` -> `ac59398` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### 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://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMDIuNCIsInVwZGF0ZWRJblZlciI6IjM0LjE0Ni4wIn0=-->
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-20.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
|
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
|