From 3f6d35892b302c875adeefb663110d09cfcdada9 Mon Sep 17 00:00:00 2001 From: winston Date: Tue, 25 Jul 2023 08:27:53 +0200 Subject: [PATCH] ci(prettier): fix token ternary --- .github/workflows/format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 479be77..ea934f0 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -14,7 +14,7 @@ jobs: with: # using the USERSTYLES_TOKEN for main (branch protection), # and general github.token for PRs - token: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && secrets.USERSTYLES_TOKEN || github.token }}} + token: ${{ github.ref == 'refs/heads/main' && secrets.USERSTYLES_TOKEN || github.token }} - name: Run prettier uses: actionsx/prettier@v2