Skip to content

Commit 2d7a17a

Browse files
authored
Update setup-new-repo.yml
1 parent 1606fde commit 2d7a17a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
exit 1
5555
fi
5656
57-
echo "Creating new repository: https://github.com/$OWNER/$REPO_NAME"
58-
gh repo create "$OWNER/$REPO_NAME" --public --template "$OWNER/$(basename '${{ github.repository }}')" --confirm
57+
# echo "Creating new repository: https://github.com/$OWNER/$REPO_NAME"
58+
# gh repo create "$OWNER/$REPO_NAME" --public --template "$OWNER/$(basename '${{ github.repository }}')" --confirm
5959
6060
echo "REPO_NAME=$REPO_NAME" >> $GITHUB_ENV
6161
echo "OWNER=$OWNER" >> $GITHUB_ENV
@@ -74,7 +74,7 @@ jobs:
7474
echo "::error::Invalid team ID format for maintainers. Expected numeric ID."
7575
exit 1
7676
fi
77-
echo "{\"name\": \"$MAINTAINERS_TEAM\", \"description\": \"Maintainers for $REPO_NAME\ repository", \"parent_team_id\": $MAINTAINERS_PARENT_ID_NUM}" > maintainer_payload.json
77+
echo "{\"name\": \"$MAINTAINERS_TEAM\", \"description\": \"Maintainers for $REPO_NAME repository\", \"parent_team_id\": $MAINTAINERS_PARENT_ID_NUM}" > maintainer_payload.json
7878
gh api orgs/$OWNER/teams \
7979
-X POST \
8080
-H "Accept: application/vnd.github+json" \
@@ -91,7 +91,7 @@ jobs:
9191
echo "::error::Invalid team ID format for codeowners. Expected numeric ID."
9292
exit 1
9393
fi
94-
echo "{\"name\": \"$CODEOWNERS_TEAM\", \"description\": \"Codeowners for $REPO_NAME\ repository", \"parent_team_id\": $CODEOWNERS_PARENT_ID_NUM}" > codeowners_payload.json
94+
echo "{\"name\": \"$CODEOWNERS_TEAM\", \"description\": \"Codeowners for $REPO_NAME repository\", \"parent_team_id\": $CODEOWNERS_PARENT_ID_NUM}" > codeowners_payload.json
9595
gh api orgs/$OWNER/teams \
9696
-X POST \
9797
-H "Accept: application/vnd.github+json" \

0 commit comments

Comments
 (0)