File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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" \
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" \
You can’t perform that action at this time.
0 commit comments