diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b9b41d..7cd058c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: - name: Checkout uses: Brightspace/third-party-actions@actions/checkout with: - persist-credentials: false + token: ${{github.triggering_actor == 'devpow112' && secrets.PR_MANAGE_TOKEN || github.token}} - name: Set up node uses: Brightspace/third-party-actions@actions/setup-node with: @@ -124,7 +124,7 @@ jobs: run: gh pr review --approve "$PULL_REQUEST_NUMBER" env: PULL_REQUEST_NUMBER: ${{github.event.number}} - GITHUB_TOKEN: ${{secrets.PR_MANAGE_TOKEN}} + GITHUB_TOKEN: ${{github.token}} test: name: Test timeout-minutes: 5