/format-repo

GitHub Action workflow to format your code and push to repository

Primary LanguageJavaScriptMIT LicenseMIT

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/'