Skip to content

Update template

Update template #24

Workflow file for this run

name: Prettier
on:
push:
branches: main
paths:
- "**.json"
- "**.yml"
workflow_dispatch:
permissions: write-all
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Prettier
uses: actionsx/prettier@v3
with:
args: --write "**.json" "**.yml"
- name: Add & Commit
uses: EndBug/[email protected]
with:
message: "ci: formatting"
default_author: github_actions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}