From 442dba84e36e876da934959866a829fb14744b0d Mon Sep 17 00:00:00 2001 From: ClementTsang <34804052+ClementTsang@users.noreply.github.com> Date: Sun, 6 Nov 2022 03:46:51 -0500 Subject: ci: add missing PR pull --- .github/workflows/clear-pr-cache.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/clear-pr-cache.yml b/.github/workflows/clear-pr-cache.yml index 356884d4..237b7fe5 100644 --- a/.github/workflows/clear-pr-cache.yml +++ b/.github/workflows/clear-pr-cache.yml @@ -18,6 +18,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + fetch-depth: 1 + - run: | if [[ -z "${{ github.event.inputs.id }}" ]]; then python ./scripts/clear_cache.py ${{ github.event.pull_request.number }} -- cgit v1.2.3