Skip to content

Commit 435d357

Browse files
committed
Refactor output handling in onboarding workflow to improve readability by grouping echo statements into a single block.
1 parent e644bbc commit 435d357

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/onboard-new-repo.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@ jobs:
5858
validate_name "$ORG" "Organization" 39
5959
validate_name "$REPO_NAME" "Repository" 100
6060
61-
echo "organization=$ORG" >> "$GITHUB_OUTPUT"
62-
echo "repo_name=$REPO_NAME" >> "$GITHUB_OUTPUT"
63-
echo "repository=$ORG/$REPO_NAME" >> "$GITHUB_OUTPUT"
61+
{
62+
echo "organization=$ORG"
63+
echo "repo_name=$REPO_NAME"
64+
echo "repository=$ORG/$REPO_NAME"
65+
} >> "$GITHUB_OUTPUT"
6466
shell: bash
6567
env:
6668
EVENT_NAME: ${{ github.event_name }}

0 commit comments

Comments
 (0)