Removed maintance on push + added lint. (#32)
Reviewed-on: #32 Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit is contained in:
parent
afd78cc1bc
commit
e6d9991e14
18
.gitea/workflows/lint.yaml
Normal file
18
.gitea/workflows/lint.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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@v4
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
- run: pip install pre-commit
|
||||||
|
shell: bash
|
||||||
|
- name: pre-commit
|
||||||
|
run: SKIP=no-commit-to-branch pre-commit run -a
|
@ -1,14 +1,12 @@
|
|||||||
name: Auto Maintenance Cycle
|
name: Auto Maintenance Cycle
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 0 * * *
|
- cron: 0 0 * * *
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
auto-update:
|
auto-update:
|
||||||
name: pre-commit Autoupdate
|
name: pre-commit
|
||||||
runs-on: pi64
|
runs-on: pi64
|
||||||
env:
|
env:
|
||||||
SPECIFIC_BRANCH: chore/update-pre-commit
|
SPECIFIC_BRANCH: chore/update-pre-commit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user