Skip to content

SPHTech-Platform/gha-pre-commit-autoupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gha-pre-commit-autoupdate

This action runs pre-commit autoupdate command to update the versions in the pre-commit yaml file and makes a PR to the repo for updates

Example usage

Insert into part of the steps workflow

steps:
  - uses: SPHTech-Platform/gha-pre-commit-autoupdate@main
    name: Update pre-commit config automatically
    with:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Important note

For this to work, Github Org admins must allow Github Actions to make PR requests.

You can find it under Settings > Actions > General from the Organization page.

About

For autoupdating of pre-commit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages