Skip to content

mezgoodle/format-repo

Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Quality Gate Status codecov Test action

Format repo

Hello! This is my project for GitHub + DEV 2023 Hackathon. I created an action that formats the code in Python and JavaScript and automatically pushes the corrected code to the repository.

Inputs

githubToken

Required The GitHub Token with repo:scope.

python

Not required Flag to format python code.

javascript

Not required Flag to format javascript code.

projectFolder

Not required Path to the project folder.

Example usage

- name: Run the action
  uses: mezgoodle/format-repo@v1.0.0
  with:
    python: true
    javascript: true
    gitHubToken: ${{ secrets.TOKEN }}
    projectFolder: 'src/'

About

GitHub Action workflow to format your code and push to repository

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published