Pre-commit auto-update #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre-commit auto-update | ||
on: | ||
# every day at midnight | ||
schedule: | ||
- cron: "0 0 * * *" | ||
# on demand | ||
workflow_dispatch: | ||
jobs: | ||
upgrade: | ||
Check failure on line 11 in .github/workflows/pre-commit-au.yml GitHub Actions / Pre-commit auto-updateInvalid workflow file
|
||
uses: browniebroke/github-actions/.github/workflows/pre-commit-autoupdate.yml@v1 | ||
secrets: | ||
gh_pat: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
# Inputs listed with their default (all optional) | ||
config_path: ".pre-commit-config.yaml" # path is relative to repository root | ||
python_version: "3.11" | ||
branch_name: "update/pre-commit-hooks" | ||
pull_request_title: "chore(deps): upgrade pre-commit dependencies" | ||
commit_message: "chore(deps): upgrade pre-commit dependencies" |