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
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ updates:
directory: "/"
schedule:
interval: "weekly"
reviewers:
- "officel"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
reviewers:
- "officel"
- package-ecosystem: "pre-commit"
directory: "/"
schedule:
interval: "weekly"
30 changes: 3 additions & 27 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,16 @@
name: pre-commit

on:
schedule:
- cron: '0 15 * * FRI'
workflow_dispatch:
pull_request:

jobs:
pre-commit:
permissions:
contents: write
pull-requests: write
contents: read
pull-requests: read
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.10'
- uses: pre-commit/action@v3.0.1

- run: pre-commit autoupdate
if: ${{ github.event_name == 'schedule' }}
- name: Create Pull Request
if: ${{ github.event_name == 'schedule' }}
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: ${{ github.event.repository.default_branch }}
branch: update/pre-commit-autoupdate
title: 'build(deps): bump pre-commit autoupdate'
commit-message: 'build(deps): bump pre-commit autoupdate'
body: |
Update versions of tools in pre-commit
configs to latest version
add-paths: |
.pre-commit-config.yaml
assignees: ${{ github.actor }}
reviewers: ${{ github.actor }}
- uses: j178/prek-action@v1