From 26962481ecc6d25ecd8e919ab6aa003bbe82c7a5 Mon Sep 17 00:00:00 2001 From: Chao Wang Date: Tue, 18 Nov 2025 09:30:07 +0800 Subject: [PATCH 1/2] fix: don't trigger the workflow in pull_request_target and push event --- .github/workflows/release.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b3d690a..0afd0fc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,15 +8,10 @@ on: description: 'Custom version (optional)' required: false type: string - pull_request_target: - types: - - closed - branches: - - 'main' - - push: - branches: - - 'main' + +concurrency: + group: release-${{ github.ref }} + cancel-in-progress: false jobs: release: From 18aa81c09da2fcf21678978af36aaac9fcb58437 Mon Sep 17 00:00:00 2001 From: Chao Wang Date: Tue, 18 Nov 2025 09:44:56 +0800 Subject: [PATCH 2/2] fix: add missing gpg argument --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 760c9068..d18de4d6 100644 --- a/pom.xml +++ b/pom.xml @@ -959,6 +959,7 @@ limitations under the License.]]> + --batch --pinentry-mode loopback