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