summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/clear-pr-cache.yml5
1 files changed, 5 insertions, 0 deletions
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 }}