Skip to content

feat: reusable workflows #80

feat: reusable workflows

feat: reusable workflows #80

Workflow file for this run

name: pre-commit-pr
on:
pull_request:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: "Run with tmate debugging enabled"
required: false
default: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit-changes:
uses: Komorebi-AI/github-actions/.github/workflows/pre-commit-uv.yml@main
with:
uv-version: 0.8.0
pre-commit-args: --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}
debug-enabled: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}