Skip to content

Commit

Permalink
Update versioning.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cotestatnt authored Jan 7, 2024
1 parent caae0a5 commit da5e160
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@4
- uses: actions/checkout@v3
with:
# Fetch the last 2 commits instead of just 1.
fetch-depth: 2
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: 'Get tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
Expand Down

0 comments on commit da5e160

Please sign in to comment.