From e8403fe019086c8791a33c1e56eb65f86658cb30 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Fri, 13 Dec 2024 14:33:43 +0530 Subject: [PATCH] fix the creds issue in workflow --- .github/workflows/update-stable.yml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/update-stable.yml b/.github/workflows/update-stable.yml index 029c3501..51c86454 100644 --- a/.github/workflows/update-stable.yml +++ b/.github/workflows/update-stable.yml @@ -15,11 +15,8 @@ jobs: pull-requests: read steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} - + - uses: actions/checkout@v3 + - name: Configure Git run: | git config --global user.name 'github-actions[bot]' @@ -178,12 +175,12 @@ jobs: git tag -a "$VERSION" -m "Release $VERSION" git push origin "$VERSION" - - name: Create GitHub Release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - VERSION="v${{ steps.bump_version.outputs.new_version }}" - gh release create "$VERSION" \ - --title "Release $VERSION" \ - --notes "${{ steps.changelog.outputs.content }}" \ - --target stable \ No newline at end of file + # - name: Create GitHub Release + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # run: | + # VERSION="v${{ steps.bump_version.outputs.new_version }}" + # gh release create "$VERSION" \ + # --title "Release $VERSION" \ + # --notes "${{ steps.changelog.outputs.content }}" \ + # --target stable \ No newline at end of file