Skip to content

Commit

Permalink
ci: Set fetch-depth to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jan 12, 2021
1 parent 7240dd4 commit 7c55301
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 7c55301

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.