Skip to content

GitHub Action workflow to format your code and push to repository

License

Notifications You must be signed in to change notification settings

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

Repository files navigation

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

Contributors 3

  •  
  •  
  •