From 654e01a9c1e8e8d551d11222bda6e50881bb2511 Mon Sep 17 00:00:00 2001 From: Zachary Belford Date: Wed, 26 Apr 2023 12:11:05 -0700 Subject: [PATCH] bump delete preview checkout action to v3 (#735) --- .github/workflows/delete-preview.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/delete-preview.yml b/.github/workflows/delete-preview.yml index cbdfa660724..a864eabaab9 100644 --- a/.github/workflows/delete-preview.yml +++ b/.github/workflows/delete-preview.yml @@ -25,9 +25,10 @@ jobs: if: ${{ needs.is-fork-pull-request.outputs.IS_FORK == 'false' }} steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: gh-pages + token: ${{ secrets.GITHUB_TOKEN }} - name: Delete Branch Folder on gh-pages if: ${{ github.event.pull_request.head.ref != 'wallet' && github.event.pull_request.head.ref != 'snaps' && github.event.pull_request.head.ref != 'guide' && github.event.pull_request.head.ref != 'assets' && github.event.pull_request.head.ref != 'img' && github.event.pull_request.head.ref != 'search' }} run: |