Skip to content

feat: support .endgit.yml config file#13

Open
0xliam627 wants to merge 1 commit into
mainfrom
feature/endgit-config-file
Open

feat: support .endgit.yml config file#13
0xliam627 wants to merge 1 commit into
mainfrom
feature/endgit-config-file

Conversation

@0xliam627
Copy link
Copy Markdown
Member

Summary

  • Add .endgit.yml config parser (src/lib/endgitConfig.ts)
  • Add GitHub App installation token helper (src/lib/githubApp.ts) for bot commits
  • enableCI now commits .endgit.yml to user's repo via endgit[bot]
  • Webhook branch filtering: skip builds for branches not in .endgit.yml config

Closes #12

Test plan

  • Enable CI on a repo → popup appears, confirm → .endgit.yml committed by bot
  • Push to configured branch → build triggers
  • Push to non-configured branch → build skipped
  • Malformed .endgit.yml → build proceeds with warning

- Add config parser (src/lib/endgitConfig.ts)
- Add GitHub App installation token helper (src/lib/githubApp.ts)
- enableCI commits .endgit.yml to repo via endgit[bot]
- Webhook branch filtering based on .endgit.yml config
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.

[FEATURE] Support .endgit config file for per-repo settings

2 participants