Skip to content

feat: create initial release #2

feat: create initial release

feat: create initial release #2

# SPDX-FileCopyrightText: © 2025 open-nudge <https://github.com/open-nudge>
# SPDX-FileContributor: szymonmaszke <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
---
name: "pre-commit Hooks"
on:
pull_request:
branches:
- "main"
paths:
- ".github/actions/pdm-*.yml"
- ".pre-commit-hooks.yaml"
- ".github/workflows/pre-commit-hooks.yml"
- ".github/workflows/run-*reusable.yml"
merge_group:
types:
- "checks_requested"
permissions: {} # yamllint disable-line rule:braces
concurrency:
group: >
${{ github.workflow_ref }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
name: "pre-commit"
permissions:
contents: "read"
# yamllint disable rule:line-length
uses: "open-nudge/opentemplate/.github/workflows/run-check-reusable.yml@main" # zizmor: ignore[unpinned-uses]
# yamllint enable rule:line-length
with:
check: "pre-commit-hooks"
group: "pre-commit"
sparse-checkout: |
.pre-commit-hooks.yaml
...