From dbec91074d20535b7dc9cc8a1a15fb26c6b204d9 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 8 Dec 2019 17:35:21 +0900 Subject: [PATCH] gha: Add checkout step --- .github/workflows/purge-readme-image-cache.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/purge-readme-image-cache.yml b/.github/workflows/purge-readme-image-cache.yml index 57762ce..9270ea1 100644 --- a/.github/workflows/purge-readme-image-cache.yml +++ b/.github/workflows/purge-readme-image-cache.yml @@ -10,6 +10,10 @@ jobs: runs-on: ubuntu-18.04 steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 1 + - run: | IMAGE_LIST=$(curl -sL https://github.com/${GITHUB_REPOSITORY} | \ grep -oE '