diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 62dde7cd..ce4851bb 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -15,6 +15,8 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout PR run: gh pr checkout ${{ github.event.pull_request.number }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Close PR if commit message is "Update main.go" if: github.event.pull_request.title == 'Update main.go'