From 600d27cfeae428e3da57fcb0fc83c311887ffb38 Mon Sep 17 00:00:00 2001 From: Cesar Flores Date: Thu, 5 Mar 2026 05:25:07 +0700 Subject: [PATCH] fix: update GitHub Actions workflow to simplify tag pushing process --- .github/workflows/update-latest-tag.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-latest-tag.yml b/.github/workflows/update-latest-tag.yml index f2b1fd5..b424053 100644 --- a/.github/workflows/update-latest-tag.yml +++ b/.github/workflows/update-latest-tag.yml @@ -8,15 +8,16 @@ on: jobs: update-latest: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v6 with: fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} - name: Update latest tag run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git tag -f latest - git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} latest --force + git push origin latest --force