Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Autoupdate
on:
schedule:
- cron: '0 0 1 * *'
jobs:
pre-commit:
name: Pre-commit
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: mozilla-releng/actions/pre-commit-autoupdate@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: "Pre-commit"
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
name: Run pre-commit hooks
runs-on: ubuntu-latest
steps:
- uses: mozilla-releng/actions/pre-commit@main
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
---
ci:
autofix_commit_msg: "style: pre-commit.ci auto fixes [...]"
autoupdate_commit_msg: "chore: pre-commit autoupdate"
autoupdate_schedule: monthly
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.