mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-08-22 19:38:36 +00:00
* 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>
21 lines
368 B
YAML
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
|