diff --git a/.github/workflows/versioning.yml b/.github/workflows/versioning.yml index c32a4803..8257b02e 100644 --- a/.github/workflows/versioning.yml +++ b/.github/workflows/versioning.yml @@ -10,7 +10,8 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 # Required due to the way Git works + 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" @@ -32,4 +33,4 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} branch: master force: true - message: 'Overwritten by Github Actions - ${date}' + message: 'Overwritten by Github Actions'