Files
XTLS_Xray-docs-next/.github/workflows/prettier.yml
T
2025-07-06 17:19:56 -04:00

23 lines
491 B
YAML

name: Prettier Action
on:
pull_request:
branches: [main]
jobs:
prettier:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Prettify code
uses: creyD/prettier_action@v4.6
with:
prettier_options: --write **/*.{js,ts,md,vue}