diff options
author | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2021-01-12 07:06:40 +0300 |
---|---|---|
committer | peaceiris <30958501+peaceiris@users.noreply.github.com> | 2021-01-12 07:06:40 +0300 |
commit | 7c55301cad8e36d8db31164f62b4c730fb164c8b (patch) | |
tree | c84efdc1ab87d01825b4c7d21eb8c1460bfa51a0 | |
parent | 7240dd465ddeb3a59801935fb2c942ce0aa5ddad (diff) |
ci: Set fetch-depth to 0
-rw-r--r-- | .github/workflows/deploy-github-pages.yml | 2 | ||||
-rw-r--r-- | .github/workflows/test.yml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index 22e28db9..43a5b0b6 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -23,6 +23,8 @@ jobs: if: contains(github.event.head_commit.message, '[skip ci]') == false steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Read .env id: hugo_version diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cccd8ba6..85417995 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,8 @@ jobs: if: contains(github.event.head_commit.message, '[skip ci]') == false steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Read .env id: hugo_version |