diff --git a/.github/workflows/continue-review.yaml b/.github/workflows/continue-review.yaml index b5935ab54..9cee70fb0 100644 --- a/.github/workflows/continue-review.yaml +++ b/.github/workflows/continue-review.yaml @@ -15,8 +15,6 @@ on: secrets: CONTINUE_API_KEY: required: true - GITHUB_TOKEN: - required: false workflow_dispatch: inputs: assistant: @@ -113,7 +111,7 @@ jobs: EOF fi env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ github.token }} - name: Build custom prompt if: inputs.custom_prompt != '' @@ -200,4 +198,4 @@ jobs: console.log('Failed to post comment:', error.message); } env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ github.token }} \ No newline at end of file diff --git a/.github/workflows/pr_checks.yml b/.github/workflows/pr_checks.yml index ca2bb3e53..aa3568833 100644 --- a/.github/workflows/pr_checks.yml +++ b/.github/workflows/pr_checks.yml @@ -50,7 +50,6 @@ jobs: assistant: "nate/default-assistant" secrets: CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub does not have a way of requiring that all checks pass (you must manually select each job) # This action at least lets us manage the list of required tests via source control