-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add pre-commit autoupdate GH action, update deps
- Loading branch information
Showing
4 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Pre-commit auto-update | ||
|
||
on: | ||
# every day at midnight | ||
schedule: | ||
- cron: "0 0 * * *" | ||
# on demand | ||
workflow_dispatch: | ||
|
||
jobs: | ||
upgrade: | ||
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" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
black | ||
build | ||
pre-commit | ||
pyright | ||
pytest | ||
sphinx | ||
wheel | ||
black==23.11.0 | ||
build==1.0.3 | ||
pre-commit==3.5.0 | ||
pyright==1.1.335 | ||
pytest==7.4.3 | ||
sphinx==7.2.6 | ||
wheel==0.41.3 |