Skip to content

Commit

Permalink
fetch depth
Browse files Browse the repository at this point in the history
  • Loading branch information
ciis0 committed Aug 28, 2024
1 parent 9ad2a27 commit cfd1c03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:
- main

env:
RELEASE_VERSION: ${{ github.event.inputs.version }}
IS_PRERELEASE: ${{ contains(github.event.inputs.version, 'alpha') || contains(github.event.inputs.version, 'beta') }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
Expand All @@ -23,6 +21,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: $(( ${{ github.event_name == 'pull_request' && github.event.pull_request.commits || 0 }} + 10 ))
- name: Node 18
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit cfd1c03

Please sign in to comment.