From 1abd15c7f62908e84df3bd0a3f970b7726cce152 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Thu, 9 Feb 2023 13:56:49 +0800 Subject: [PATCH] prettier --- .github/workflows/star.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/star.yml b/.github/workflows/star.yml index 830fece..e9bf5b9 100644 --- a/.github/workflows/star.yml +++ b/.github/workflows/star.yml @@ -1,18 +1,18 @@ name: Star on: - pull_request_target: - types: [opened, synchronize, reopened, ready_for_review, review_requested] - branches: [main] + pull_request_target: + types: [opened, synchronize, reopened, ready_for_review, review_requested] + branches: [main] jobs: - check-user-star: - name: Check - runs-on: ubuntu-latest - steps: - - {uses: gacts/is-stargazer@v1, with: {username: '${{ github.event.pull_request.user.login }}'}, id: check-star} + check-user-star: + name: Check + runs-on: ubuntu-latest + steps: + - { uses: gacts/is-stargazer@v1, with: { username: "${{ github.event.pull_request.user.login }}" }, id: check-star } - - if: steps.check-star.outputs.is-stargazer != 'true' - uses: actions/github-script@v6 - with: - script: core.setFailed('⭐ Please star the repository!') + - if: steps.check-star.outputs.is-stargazer != 'true' + uses: actions/github-script@v6 + with: + script: core.setFailed('⭐ Please star the repository!')