From 2727d562be50cf0d8542a2e2971d25d507af43d1 Mon Sep 17 00:00:00 2001 From: Sascha Schwarze Date: Thu, 9 Jan 2025 08:56:20 +0100 Subject: [PATCH] Use correct tag in comment / use correct branch for release action Signed-off-by: Sascha Schwarze --- .github/report-release-vulnerabilities.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/report-release-vulnerabilities.sh b/.github/report-release-vulnerabilities.sh index fd5d50382..5348a92c1 100755 --- a/.github/report-release-vulnerabilities.sh +++ b/.github/report-release-vulnerabilities.sh @@ -148,10 +148,11 @@ if [ "${hasVulnerabilities}" == "true" ] && [ "${allVulnerabilitiesFixedByRebuil else echo "[INFO] Triggering build of release ${nextTag} for branch ${RELEASE_BRANCH}" gh workflow run release.yaml \ + --ref "${RELEASE_BRANCH}" \ --raw-field "git-ref=${RELEASE_BRANCH}" \ --raw-field "tags=${RELEASE_TAG}" \ --raw-field "release=${nextTag}" - gh issue comment "${issueNumber}" --body "Triggered a release build in branch ${RELEASE_BRANCH} for ${RELEASE_TAG}. Please check whether this succeeded. A maintainer must release this." + gh issue comment "${issueNumber}" --body "Triggered a release build in branch ${RELEASE_BRANCH} for ${nextTag}. Please check whether this succeeded. A maintainer must release this." fi fi