From 09644bd1319defffbe7a16c32f696ef84bd6ed8a Mon Sep 17 00:00:00 2001 From: Jared Ledvina Date: Mon, 15 Sep 2025 16:09:34 -0400 Subject: [PATCH] [github-action] release - Empty allowedSignersFile Update the release Github Action workflow to create an empty allowedSignersFile and configure git to use it. This prevents failures when tags are signed with an SSH based key. Without this configuration, `git tag -v` errors with: ``` Output: error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification ``` Signed-off-by: Jared Ledvina --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cde9d5dc25..513f0427dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,9 @@ jobs: - name: Check signature run: | + # git tag -v requires an allowedSignersFile to be configured and exist for ssh signature verification + touch ${{ runner.temp }}/empty-allowedSignersFile + git config --global gpg.ssh.allowedSignersFile ${{ runner.temp }}/empty-allowedSignersFile releasever=${{ github.ref }} releasever="${releasever#refs/tags/}" TAGCHECK=$(git tag -v ${releasever} 2>&1 >/dev/null) ||