Skip to content

Allow explicit GitHub organization in destination config - #12

Merged
achadha235 merged 2 commits into
mainfrom
cursor/variables-vs-secrets-46d0
Jul 26, 2026
Merged

Allow explicit GitHub organization in destination config#12
achadha235 merged 2 commits into
mainfrom
cursor/variables-vs-secrets-46d0

Conversation

@achadha235

@achadha235 achadha235 commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

GitHub Actions destinations no longer require inferring the org solely from repository: owner/name.

Allowed forms:

# org only (repo/env scopes still need a repository on the destination)
organization: achadha235

# org + bare repo name
organization: achadha235
repository: secretsync-example-vercel

# owner/repo shorthand
repository: achadha235/secretsync-example-vercel

Rejected:

  • organization + repository: owner/name (redundant same-owner or mismatched owner)
  • bare repository: name without organization

Validation and apply/list surface actionable hints. Existing repository: owner/name configs keep working.

Merged with main after #11 (scope.kind: organization): org-only destinations work for organization-scope deployments; repository/environment scopes still require a concrete repository.

Open in Web Open in Cursor 

Support organization-only, organization+repo-name, and owner/repo
shorthand. Reject combining organization with owner/repo (redundant
or mismatched). Repo/env operations still require a concrete repository.

Co-authored-by: Abhishek Chadha <achadha235@users.noreply.github.com>
@achadha235

Copy link
Copy Markdown
Owner Author

@cursoragent please fix the merge conflicts here. I have already merged #11

@cursor

cursor Bot commented Jul 26, 2026

Copy link
Copy Markdown

Merge conflicts on PR #12 are fixed and the branch is mergeable again.

Conflict was in github_actions.py between destination organization (#12) and scope.kind: organization (#11). Kept both, and wired org-only destinations so organization-scope list/apply works without a repository.

Open in Web Open in Cursor 

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>
@achadha235
achadha235 marked this pull request as ready for review July 26, 2026 06:38
@achadha235
achadha235 merged commit c711e42 into main Jul 26, 2026
2 checks passed
@achadha235
achadha235 deleted the cursor/variables-vs-secrets-46d0 branch July 26, 2026 07:36
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