Skip to content

Conversation

@igort78
Copy link

@igort78 igort78 commented Oct 23, 2025

Summary

Adds support for committing design tokens directly to GitHub repositories without requiring GitHub Actions workflows.

This feature bypasses the 65KB payload limitation of the GitHub Actions dispatch API, allowing larger design token files to be committed directly to repositories.

Changes

  • Add github_commit authentication type for direct file commits via GitHub API
  • Implement GithubRepository module for GitHub API integration
  • Add UI components for branch, filepath, and commit message configuration
  • Update README documentation with github_commit auth option
  • Support automatic branch creation if it doesn't exist
  • Handle both file creation and updates via GitHub API

Use Case

This allows users to commit design tokens directly to a GitHub repository from Figma, similar to the existing GitLab commit functionality. Useful for teams who want direct commits without setting up GitHub Actions workflows.

Testing

  • Tested with various repository configurations
  • Verified branch creation and file updates
  • Confirmed error handling for invalid tokens/repositories

- Add github_commit authentication type for direct file commits
- Implement GithubRepository module for GitHub API integration
- Add UI components for branch, filepath, and commit message configuration
- Update README documentation with github_commit auth option
- Supports automatic branch creation if not exists
- Handles both file creation and updates via GitHub API
@igort78 igort78 mentioned this pull request Oct 23, 2025
Closed
@igort78 igort78 force-pushed the feat/github-direct-commit branch from 4673cd4 to 4e5df87 Compare October 23, 2025 17:03
- Remove simple owner/repo format from URL parsing logic
- Update README to document only supported URL formats
- Keep support for https://api.github.com/repos/owner/repo
- Keep support for https://github.com/owner/repo
- Remove :username/:repo format that fails HTML5 validation
@igort78 igort78 force-pushed the feat/github-direct-commit branch 2 times, most recently from 975e2ad to f4aa38e Compare October 23, 2025 17:37
@igort78 igort78 force-pushed the feat/github-direct-commit branch from f4aa38e to 60a858a Compare October 23, 2025 17:37
@0m4r
Copy link
Collaborator

0m4r commented Oct 31, 2025

@igort78, thanks for the PR, I will be reviewing it and will get back to any questions.
Please be patient, as it may take a bit of time.

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