Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config #312

Merged
merged 9 commits into from
Oct 13, 2024
Merged
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
13 changes: 7 additions & 6 deletions .github/workflows/pre-commit-autoupdate.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Pre-commit auto-update
name: pre-commit auto-update

on:
schedule:
- cron: "0 8 * * *" # run at 8:00 AM UTC
- cron: "0 8 * * 1" # run every Monday at 8:00 AM UTC
workflow_dispatch: # to trigger manually

jobs:
Expand All @@ -26,8 +26,8 @@ jobs:

- name: Install packages
run: |
poetry run make config-poetry
poetry run make install
make config-poetry
make install

- name: Autoupdate pre-commit hooks
run: |
Expand All @@ -37,11 +37,12 @@ jobs:
run: |
pre-commit run --all-files

- uses: peter-evans/create-pull-request@v3
- uses: peter-evans/create-pull-request@v7
if: always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update/pre-commit-hooks
branch: pre-commit-hooks
title: Update pre-commit hooks
commit-message: "Update pre-commit hooks"
body: Update versions of pre-commit hooks to latest version.
author: ci-bot <${{secrets.CI_BOT_EMAIL}}>