From c7a7db3af504937dae8a1a661156e1d558d142cc Mon Sep 17 00:00:00 2001
From: Andrew Peabody <andrewpeabody@google.com>
Date: Tue, 12 Nov 2024 11:19:53 -0800
Subject: [PATCH 1/2] Update Makefile

---
 infra/build/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/infra/build/Makefile b/infra/build/Makefile
index 0b310d2d81b..38a815a2203 100644
--- a/infra/build/Makefile
+++ b/infra/build/Makefile
@@ -115,10 +115,7 @@ build-image-developer-tools:
 
 .PHONY: release-image-developer-tools
 release-image-developer-tools:
-	if [[ -z "${GITHUB_SHA}" ]]; then
-	  echo "ERROR: Missing GITHUB_SHA for the release"
-		exit 1
-	fi
+	test -n "$(GITHUB_SHA)" # $$GITHUB_SHA
 
 	docker tag ${DOCKER_IMAGE_DEVELOPER_TOOLS}:${DOCKER_TAG_VERSION_DEVELOPER_TOOLS} \
   ${REGISTRY_URL}/${DOCKER_IMAGE_DEVELOPER_TOOLS}:${DOCKER_TAG_VERSION_DEVELOPER_TOOLS}

From 53f977f5485707ed093f56c1764010e325fceda6 Mon Sep 17 00:00:00 2001
From: Andrew Peabody <andrewpeabody@google.com>
Date: Tue, 12 Nov 2024 12:43:05 -0800
Subject: [PATCH 2/2] Update build-push-cft-devtools.yml

---
 .github/workflows/build-push-cft-devtools.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/build-push-cft-devtools.yml b/.github/workflows/build-push-cft-devtools.yml
index d79f37ee682..e14fffa679e 100644
--- a/.github/workflows/build-push-cft-devtools.yml
+++ b/.github/workflows/build-push-cft-devtools.yml
@@ -18,6 +18,7 @@ jobs:
     permissions:
       contents: 'read'
       id-token: 'write'
+      issues: 'write'
 
     steps:
       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2