diff --git a/.gitea/workflows/devstar-vscode-release.yaml b/.gitea/workflows/devstar-vscode-release.yaml index 4bb856c..eedeabb 100644 --- a/.gitea/workflows/devstar-vscode-release.yaml +++ b/.gitea/workflows/devstar-vscode-release.yaml @@ -24,6 +24,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + ref: ${{ github.head_ref }} - name: 配置 Git run: | @@ -69,7 +70,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" git add package.json - git commit -m "chore: bump version to $NEW_VERSION" + git commit -m "chore: bump version to $NEW_VERSION [skip ci]" # 推送到当前分支 BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)