diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml index 076894f25be2f..092864246240b 100644 --- a/.github/workflows/superset-e2e.yml +++ b/.github/workflows/superset-e2e.yml @@ -66,20 +66,20 @@ jobs: # Conditional checkout based on context - name: Checkout for push or pull_request event if: github.event_name == 'push' || github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: persist-credentials: false submodules: recursive - name: Checkout using ref (workflow_dispatch) if: github.event_name == 'workflow_dispatch' && github.event.inputs.ref != '' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: persist-credentials: false ref: ${{ github.event.inputs.ref }} submodules: recursive - name: Checkout using PR ID (workflow_dispatch) if: github.event_name == 'workflow_dispatch' && github.event.inputs.pr_id != '' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: persist-credentials: false ref: refs/pull/${{ github.event.inputs.pr_id }}/merge