Skip to content

Pre-commit auto-update #80

Pre-commit auto-update

Pre-commit auto-update #80

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Pre-commit auto-update

Invalid workflow file

The workflow is not valid. .github/workflows/pre-commit-au.yml (Line: 11, Col: 3): Error calling workflow 'browniebroke/github-actions/.github/workflows/pre-commit-autoupdate.yml@v1'. The nested job 'auto-update' is requesting 'contents: write, pull-requests: write', but is only allowed 'contents: read, pull-requests: none'.
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"