mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
ci: 🧠
This commit is contained in:
parent
2f22fc96f3
commit
9886e96d74
6 changed files with 65 additions and 3 deletions
21
.github/workflows/pre-commit-check.yaml
vendored
Normal file
21
.github/workflows/pre-commit-check.yaml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: "Pre-commit consistency check"
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
modifiedFiles:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
pre-commit-check:
|
||||
name: Run pre-commit checks
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run against changes
|
||||
uses: pre-commit/action@v3.0.0
|
||||
with:
|
||||
extra_args: --files ${{ inputs.modifiedFiles }} --config .ci/pre-commit/config.yaml
|
Loading…
Add table
Add a link
Reference in a new issue