diff --git a/.github/workflows/generate-screenshots.yml b/.github/workflows/generate-screenshots.yml index 94452141d56d..0a09147bdf1a 100644 --- a/.github/workflows/generate-screenshots.yml +++ b/.github/workflows/generate-screenshots.yml @@ -140,6 +140,7 @@ jobs: - uses: actions/checkout@v3 if: ${{ inputs.ref != null }} with: + ref: ${{ inputs.ref }} fetch-depth: 0 token: ${{ steps.generate-token.outputs.token }} - uses: actions/checkout@v3