diff --git a/.github/workflows/zap_regeneration.yaml b/.github/workflows/zap_regeneration.yaml index 3bac2247f09da2..ba344f12314e9c 100644 --- a/.github/workflows/zap_regeneration.yaml +++ b/.github/workflows/zap_regeneration.yaml @@ -32,10 +32,10 @@ jobs: if: (github.event.issue.pull_request != '' && contains(github.event.comment.body, '/regenerate')) || (github.event_name == 'workflow_dispatch') steps: - - name: Checkout + - name: Checkout the latest code uses: actions/checkout@v2 with: - #token: ${{ secrets.APPLE_PERSONAL_ACCESS_TOKEN }} + token: ${{ secrets.APPLE_PERSONAL_ACCESS_TOKEN }} fetch-depth: 0 # otherwise, you will fail to push refs to dest repo - name: Use Node.js 14.x uses: actions/setup-node@v2