Skip to content

[CI] Format Code!

[CI] Format Code! #109

Workflow file for this run

name: Formatter
on:
push:
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
persist-credentials: false
- name: Format code
uses: creyD/[email protected]
with:
prettier_options: --write **/*.{md,js,css}
same_commit: false
commit_message: "[CI] Format Code!"
commit_description: "Format code using Prettier"
github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
- name: Lint Docker files
uses: hadolint/[email protected]
with:
dockerfile: "Dockerfile"
verbose: true
failure-threshold: error
format: tty
ignore: "DL3059"