From 83bd255342b5b7a6db9105baab4d925485b80bdd Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 22 Sep 2019 12:35:59 +0900 Subject: [PATCH] gha: Add fetch-depth 1 to actions/checkout --- .github/workflows/docker-image-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docker-image-ci.yml b/.github/workflows/docker-image-ci.yml index b855300..18368d3 100644 --- a/.github/workflows/docker-image-ci.yml +++ b/.github/workflows/docker-image-ci.yml @@ -8,6 +8,8 @@ jobs: steps: - uses: actions/checkout@master + with: + fetch-depth: 1 - name: build env: @@ -20,6 +22,8 @@ jobs: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@master + with: + fetch-depth: 1 - name: shellcheck run: shellcheck ./entrypoint.sh @@ -27,6 +31,8 @@ jobs: runs-on: macOS-10.14 steps: - uses: actions/checkout@master + with: + fetch-depth: 1 - name: hadolint run: | brew install hadolint