File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 54
54
exit 1
55
55
fi
56
56
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
59
59
60
60
echo "REPO_NAME=$REPO_NAME" >> $GITHUB_ENV
61
61
echo "OWNER=$OWNER" >> $GITHUB_ENV
74
74
echo "::error::Invalid team ID format for maintainers. Expected numeric ID."
75
75
exit 1
76
76
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
78
78
gh api orgs/$OWNER/teams \
79
79
-X POST \
80
80
-H "Accept: application/vnd.github+json" \
91
91
echo "::error::Invalid team ID format for codeowners. Expected numeric ID."
92
92
exit 1
93
93
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
95
95
gh api orgs/$OWNER/teams \
96
96
-X POST \
97
97
-H "Accept: application/vnd.github+json" \
You can’t perform that action at this time.
0 commit comments