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
Copy file name to clipboardExpand all lines: .github/actions/security/org-membership-check/README.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,7 @@ This composite action checks if a GitHub user is a member of the dotCMS organiza
39
39
40
40
## Implementation Details
41
41
42
-
The action uses the GitHub CLI (`gh`) with a fine-grained GitHub token to check organization membership via the GitHub API endpoint `GET /orgs/dotCMS/members/{username}`.
43
-
44
-
**Token Requirements:**
45
-
- Fine-grained token with organization membership read permissions
46
-
- Should be from a machine/service account for security
47
-
- Stored as repository secret: `MACHINE_USER_CORE_ORG_MEMBERSHIP_CHECK`
42
+
The action uses the GitHub CLI (`gh`) with the repository's `GITHUB_TOKEN` to check organization membership via the GitHub API endpoint `GET /orgs/dotCMS/members/{username}`.
48
43
49
44
**Key Design Decision: Status Code vs Response Body**
0 commit comments