1
0
mirror of https://github.com/XTLS/Xray-docs-next.git synced 2025-08-22 19:38:36 +00:00
Xray-docs-next/.github/workflows/prettier.yml
yuhan6665 cd75ad30f4
Try ignore prettier scan for inconsistent line break (#674)
* Upgrade: Bump creyD/prettier_action from 3.1 to 4.3

Bumps [creyD/prettier_action](https://github.com/creyd/prettier_action) from 3.1 to 4.3.
- [Release notes](https://github.com/creyd/prettier_action/releases)
- [Commits](https://github.com/creyd/prettier_action/compare/v3.1...v4.3)

---
updated-dependencies:
- dependency-name: creyD/prettier_action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Try ignore prettier scan for inconsistent line break

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-13 00:43:43 -04:00

21 lines
368 B
YAML

name: Prettier Action
on:
pull_request:
branches: [main]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
prettier_options: --write **/*.{js,ts,md,vue}
only_changed: true
dry: true