Skip to content

Hook Dependency Updates

Lorenz Walthert edited this page Oct 17, 2023 · 4 revisions

Hook dependencies are updated on schedule once a month with the respective workflow in .github/workflows/hook-dependencies-update.yml. A fine-grained PAT for the precommit repo is created with the required permissions for the action and stored in a repo scope secret that can be accessed during the CI run with. This is necessary since a push by a GitHub Action to the repository would otherwise not cause on: push actions to run. The token will have to be re-generated periodically and the respective secret updated.

Hook dependency update can also be triggered manually in the Actions thanks to the workflow_dispatch functionality.