diff --git a/.github/workflows/publish-new-version.yaml b/.github/workflows/publish-new-version.yaml index 7cdd93a998..e717987ac7 100644 --- a/.github/workflows/publish-new-version.yaml +++ b/.github/workflows/publish-new-version.yaml @@ -25,6 +25,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.GH_PUSH_TOKEN }} - name: Set up git-cliff uses: kenji-miyake/setup-git-cliff@v1 - name: setup git config @@ -35,7 +36,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: "yarn" + cache: 'yarn' - if: ${{ endsWith(github.event.inputs.version, '0') }} run: | PREV_COMMIT=$(git rev-list --tags --max-count=1) @@ -43,6 +44,7 @@ jobs: - if: ${{ !endsWith(github.event.inputs.version, '0') }} run: echo PREV=$(git describe --abbrev=0) >> $GITHUB_ENV - name: Generate changelog if not pre-release + continue-on-error: true if: ${{ !contains(github.event.inputs.version, '-') }} env: PREV: ${{ env.PREV }}