Skip to content

Fix linting for modules.json to add support for only installing subworkflows from a repository #10624

Fix linting for modules.json to add support for only installing subworkflows from a repository

Fix linting for modules.json to add support for only installing subworkflows from a repository #10624

Workflow file for this run

name: Lint tools code formatting
on:
push:
branches:
- dev
# https://docs.renovatebot.com/key-concepts/automerge/#branch-vs-pr-automerging
- "renovate/**" # branches Renovate creates
pull_request:
release:
types: [published]
# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Run prek
uses: j178/prek-action@6ad80277337ad479fe43bd70701c3f7f8aa74db3 # v2
with:
extra-args: --config .pre-commit-config.yaml --all-files