diff --git a/.github/workflows/ok-to-preview.yml b/.github/workflows/ok-to-preview.yml index 11a9ac17c53..866e29d8bc7 100644 --- a/.github/workflows/ok-to-preview.yml +++ b/.github/workflows/ok-to-preview.yml @@ -23,8 +23,8 @@ jobs: env: TOKEN: ${{ steps.generate_token.outputs.token }} with: - token: ${{ secrets.PAT }} + token: ${{ env.TOKEN }} reaction-token: ${{ secrets.GITHUB_TOKEN }} issue-type: pull-request commands: ok-to-preview - permission: write + permission: write \ No newline at end of file