mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-26 20:26:36 +02:00
ci: fixes
This commit is contained in:
parent
a682e9dbb8
commit
e71f6e774c
3 changed files with 8 additions and 3 deletions
|
@ -23,6 +23,6 @@ indent_size = 2
|
|||
indent_style = tab
|
||||
max_line_length = 98
|
||||
|
||||
[{**/*.yml}]
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: reflighit
|
||||
name: prefligit
|
||||
description: |
|
||||
Runs reflighit, pre-commit reimplemented in Rust.
|
||||
Runs prefligit, pre-commit reimplemented in Rust.
|
||||
inputs:
|
||||
extra_args:
|
||||
description: options to pass to pre-commit run
|
||||
|
|
|
@ -2,6 +2,7 @@ name: Checks / Prefligit
|
|||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
prefligit:
|
||||
|
@ -10,6 +11,10 @@ jobs:
|
|||
FROM_REF: ${{ github.event.pull_request.base.sha || (!github.event.forced && ( github.event.before != '0000000000000000000000000000000000000000' && github.event.before || github.sha )) || format('{0}~', github.sha) }}
|
||||
TO_REF: ${{ github.sha }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: ./.forgejo/actions/prefligit
|
||||
with:
|
||||
extra_args: --from-ref ${{ env.FROM_REF }} --to-ref ${{ env.TO_REF }} --hook-stage manual
|
||||
|
|
Loading…
Add table
Reference in a new issue