Skip to content

Commit

Permalink
CI: improve workflows, replace fetch-depth with fetch-tags where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomognosis committed May 18, 2024
1 parent 5751549 commit dc1b5b4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/dev_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
access_token: ${{ github.token }}

- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
fetch-tags: true

- name: Tag checkout
run:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/tag_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ jobs:
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Create Github Release
uses: actions/github-script@v6
with:
Expand Down

0 comments on commit dc1b5b4

Please sign in to comment.