From 6099d95734e3251eb40d8977153882b42851aa6d Mon Sep 17 00:00:00 2001 From: Fery Wardiyanto Date: Mon, 18 Mar 2024 00:53:44 +0700 Subject: [PATCH] chore(ci): revert back to `PAT` instead of `GITHUB_TOKEN` Signed-off-by: Fery Wardiyanto --- .github/workflows/prepare.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index 41887b8..430b085 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -31,11 +31,6 @@ jobs: target-env: ${{ env.APP_ENV }} target-url: ${{ env.APP_URL }} - permissions: - contents: read - packages: read - repository-projects: read - env: APP_ENV: ${{ inputs.target }} APP_URL: ${{ vars.APP_URL }} @@ -52,7 +47,7 @@ jobs: tools: composer:v2 coverage: none env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT }} - name: Setup pnpm uses: pnpm/action-setup@v3