You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Viewer role for `DataScienceResearchPeru/ai-community`: `ADMIN`.
10
11
11
-
## Detected repository
12
+
## Detected repository and organization
12
13
13
-
-`https://github.com/DataScienceResearchPeru/ai-community.git` responded successfully to `git ls-remote` but has no refs, indicating an empty repository at audit time.
14
-
- The local clone was created only after the read-only audit, on branch `feature/community-foundation`.
15
-
16
-
## Unknown until GitHub CLI is available
17
-
18
-
- Authenticated user and token scopes
19
-
- Organization membership and role
20
-
- Related DSRP repositories
21
-
- Existing teams and permissions
22
-
- Repository plan and branch-protection capabilities
- Visibility: private. Description and topics are empty.
16
+
- Issues are enabled; Discussions are disabled.
17
+
- Default branch: `feature/community-foundation`; `main` does not yet exist.
18
+
- The pushed foundation commit is `5551e18` on `origin/feature/community-foundation`.
19
+
- Organization: `DataScienceResearchPeru`, plan `free`, 106 public repositories and 6 private repositories.
20
+
- Existing team: `dsrp-github-team` (closed). The proposed `community`, `mentors`, and `maintainers` teams do not exist.
21
+
- Related repositories include `AI_Curriculum`, `Semilleros-DSRP`, `Retos`, `GithubParticipantes`, `rules`, and many public learning repositories.
23
22
24
23
## Risks
25
24
26
-
- GitHub administration cannot be safely inspected or automated without `gh` authentication.
27
-
- Existing GitHub settings may exist even though the repository is empty; do not overwrite them.
25
+
- GitHub's API rejects branch protection for this private repository on the Free plan. It must be public before protections for `main` can be applied.
26
+
- Changing public visibility exposes all current and future repository content. Review the branch before making that change.
27
+
- Making `main` the default branch requires first creating it from the reviewed foundation commit. The existing feature branch should be retained until the transition is confirmed.
28
28
29
29
## Recommendations and proposed actions
30
30
31
-
1.Install GitHub CLI and run `gh auth status`.
32
-
2.Run `scripts/github/audit-github.sh` with `GITHUB_ORG=DataScienceResearchPeru`.
33
-
3.Review `scripts/github/*.sh --dry-run` before any remote change.
34
-
4.Confirm the organization plan before designing an exact branch protection rule payload.
31
+
1.Review the foundation branch, then create `main` from commit `5551e18` and set it as the default branch.
32
+
2.Change the repository to public, add the approved description and topics, and enable Discussions.
33
+
3.Create the three proposed teams only if desired; do not modify `dsrp-github-team`.
34
+
4.Once public, recheck branch-protection availability and apply the reviewed rule for `main`.
0 commit comments