Skip to content

Support GitHub organization secrets and variables - #11

Merged
achadha235 merged 1 commit into
mainfrom
cursor/github-org-secrets-8d9a
Jul 26, 2026
Merged

Support GitHub organization secrets and variables#11
achadha235 merged 1 commit into
mainfrom
cursor/github-org-secrets-8d9a

Conversation

@achadha235

Copy link
Copy Markdown
Owner

Summary

Enables scope.kind: organization on the github-actions connector for both secrets and variables.

  • Org name is the owner of destination.repository (e.g. acme from acme/web)
  • Calls GitHub org Actions APIs (/orgs/{org}/actions/secrets|variables)
  • visibility defaults to private; supports all / private / selected (+ selected_repository_ids)
  • Classic PAT needs admin:org

Example

scope:
  kind: organization
  visibility: private

Test plan

  • uv run pytest tests/integration/test_github_actions.py tests/contract/test_provider_capabilities.py
  • Smoke against a real org token (optional)
Open in Web Open in Cursor 

Wire scope.kind organization to the org Actions APIs, deriving the org
from the repository owner and defaulting visibility to private.

Co-authored-by: Abhishek Chadha <achadha235@users.noreply.github.com>
@achadha235
achadha235 marked this pull request as ready for review July 26, 2026 06:26
@achadha235
achadha235 merged commit 3b50ed7 into main Jul 26, 2026
2 checks passed
@achadha235
achadha235 deleted the cursor/github-org-secrets-8d9a branch July 26, 2026 06:26
cursor Bot pushed a commit that referenced this pull request Jul 26, 2026
Resolve conflict with org scope support (#11) by keeping both destination
organization parsing and scope.kind=organization. Wire org-only
destinations through list/apply for organization scopes.

Co-authored-by: Abhishek Chadha <achadha235@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants