Skip to content

Commit 2085640

Browse files
authored
fix: correct step numbering in setup_workload_identity.sh (#188)
Step headers being printed were incorrectly numbered. Updated to sequential numbering for better clarity in the setup process. Signed-off-by: Jasmeet Bhatia <jasmeetsb1@gmail.com>
1 parent 4755934 commit 2085640

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/setup_workload_identity.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ WIF_POOL_ID=$(gcloud iam workload-identity-pools describe "${POOL_NAME}" \
269269
--format="value(name)")
270270

271271
# Step 3: Create Workload Identity Provider
272-
print_header "Step 2: Creating Workload Identity Provider"
272+
print_header "Step 3: Creating Workload Identity Provider"
273273
ATTRIBUTE_CONDITION="assertion.repository_owner == '${REPO_OWNER}'"
274274

275275
if ! gcloud iam workload-identity-pools providers describe "${PROVIDER_NAME}" \
@@ -316,7 +316,7 @@ else
316316
fi
317317

318318
# Step 4: Grant required permissions to the Workload Identity Pool
319-
print_header "Step 3: Granting required permissions to Workload Identity Pool"
319+
print_header "Step 4: Granting required permissions to Workload Identity Pool"
320320
PRINCIPAL_SET="principalSet://iam.googleapis.com/${WIF_POOL_ID}/attribute.repository/${GITHUB_REPO}"
321321

322322
print_info "Granting required permissions directly to the Workload Identity Pool..."

0 commit comments

Comments
 (0)