From 4832504cbf12514e4ae13185ca71d151bb66cf44 Mon Sep 17 00:00:00 2001 From: forkimenjeckayang Date: Wed, 12 Jun 2024 21:28:09 +0100 Subject: [PATCH] workflow: modified --- .github/workflows/release.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e6b405..ef01fb2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,21 +12,13 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - # Set up Git with PAT for authentication - - name: Set up Git - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "github-actions[bot]@users.noreply.github.com" + # You may need additional setup steps depending on your project's needs - name: Create Tag run: git tag v1.0.0 # Replace with your desired tag name - name: Push Tag - env: - PAT_TOKEN: ${{ secrets.PAT_TOKEN }} - run: | - git remote set-url origin https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}.git - git push --tags + run: git push --tags - name: Create Release id: create_release @@ -40,3 +32,4 @@ jobs: Release notes for v1.0.0 - Feature 1 implemented - Bug fixes +