From b31437f7277f048a30e26b44b76f9282c095030f Mon Sep 17 00:00:00 2001 From: wonfen Date: Sat, 18 Jul 2026 15:33:43 +0800 Subject: [PATCH] fix(ci): pin release target commit --- .github/workflows/autobuild.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index bc232400d..d1b8b71a8 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -108,6 +108,7 @@ jobs: uses: softprops/action-gh-release@v3 with: tag_name: ${{ env.TAG_NAME }} + target_commitish: ${{ github.sha }} name: 'Clash Verge Rev ${{ env.TAG_CHANNEL }}' body_path: release.txt prerelease: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f4bec14b..31d5bbb8a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,6 +75,7 @@ jobs: uses: softprops/action-gh-release@v3 with: tag_name: ${{ github.ref_name }} + target_commitish: ${{ github.sha }} name: 'Clash Verge Rev ${{ github.ref_name }}' body: 'Draft release, will be updated later.' token: ${{ secrets.GITHUB_TOKEN }}