Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

github action for pre-commit-ci lite

NotificationsYou must be signed in to change notification settings

pre-commit-ci/lite-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

action-lite

pre-commit.ci lite is an add-on for GitHub Actions which safely autofixes PRs

setup

  1. install theGitHub Application on the relevant repositories

  2. add theGitHub action to your workflow as the last step in your job:

        -uses:pre-commit-ci/lite-action@v1.1.0if:always()

note: the step must have either the defaultname or contain the textpre-commit-ci-lite. the application uses this to find the right workflow.

options

  • msg: (default[pre-commit.ci lite] apply automatic fixes): commit messageused for auto fixing

        -uses:pre-commit-ci/lite-action@v1.1.0if:always()with:msg:apply code formatting

example usingpre-commit/action

technicallypre-commit.ci lite works for any code modification, though it wasbuilt withpre-commit in mind. here is an example workflow:

on:pull_request:push:branches:[main, test-me-*]jobs:main:runs-on:ubuntu-lateststeps:    -uses:actions/checkout@v3    -uses:actions/setup-python@v4with:python-version:3.x    -uses:pre-commit/action@v3.0.1    -uses:pre-commit-ci/lite-action@v1.1.0if:always()

About

github action for pre-commit-ci lite

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp