diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 07eb8c9..550a739 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -7,7 +7,7 @@ on: jobs: prettier: runs-on: ubuntu-latest - + if: github.repository == 'doocs/advanced-java' steps: - name: Checkout uses: actions/checkout@v2 @@ -15,7 +15,7 @@ jobs: ref: ${{ github.head_ref }} - name: Prettify code - uses: creyD/prettier_action@v3.0 + uses: creyD/prettier_action@v3.2 with: prettier_options: --write **/*.{html,js,md} commit_message: 'style: prettify code'