ci: delegate pre-commit linting to central global scoped workflow (#48)
This PR removes the redundant local workflow file (`.gitea/workflows/lint.yaml`) in favor of the central **Global Scoped Workflow** hosted in `Global-Workflows` (`.gitea/scoped_workflows/lint.yaml`). ### Checklist - [x] I changed the Branch protections to fit the new pipeline setup. Reviewed-on: #48
This commit was merged in pull request #48.
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
name: Lint
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
auto-update:
|
|
||||||
name: pre-commit Autoupdate
|
|
||||||
runs-on: python
|
|
||||||
env:
|
|
||||||
SPECIFIC_BRANCH: chore/update-pre-commit
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v7
|
|
||||||
- uses: actions/setup-python@v7
|
|
||||||
- run: pip install pre-commit
|
|
||||||
shell: bash
|
|
||||||
- name: pre-commit
|
|
||||||
run: SKIP=no-commit-to-branch pre-commit run -a
|
|
||||||
Reference in New Issue
Block a user