Skip to main content

GitHub Setup & Troubleshooting

This guide walks through connecting a GitHub repository, setting up automatic synchronization, and creating a repository-managed transformer library.

Setup guide​

  1. Connect the repository – on the Repositories page, select Connect Repository and provide the repository details and a GitHub access token that can read the repository. A fine-grained personal access token with read-only access to the repository's contents is enough. See Managing Repositories.
  2. Get the webhook details – open the Webhook Info action for your repository to copy the webhook URL and secret.
  3. Create the webhook in GitHub (Repository → Settings → Webhooks → Add webhook):
    • Payload URL – the webhook URL from step 2.
    • Content type – application/json (recommended).
    • Secret – the secret from step 2.
    • Events – "Just the push event".
  4. Create the library – on the Library Modules page, create a new library From Repository and choose the file you want to track. See Create a Transformer Library from a Repository.
  5. Push a change – a new published version is created automatically. You can also use the Synchronize action to update on demand.

Troubleshooting​

SymptomLikely causeFix
Automatic updates aren't workingThe webhook secret in GitHub doesn't matchRe-copy the secret from Webhook Info and make sure the GitHub webhook secret matches exactly.
GitHub reports the webhook can't be deliveredThe webhook URL or content type is wrongUse the exact URL from Webhook Info and set the content type to application/json.
Push happens but no new version appearsThe tracked file or branch didn't changeOnly changed content creates a new version. Confirm the file path and branch, then try a manual sync.
Connecting failsThe access token is invalid or expiredUse Validate Token to check it, and Refresh Token to provide a new one.
Validate Token succeeds but synchronizing failsThe token is accepted by GitHub but can't read this repositoryGive the token read access to the repository's contents. If you create a new token, use Refresh Token to provide it.
GitHub's Recent Deliveries show 404 responsesThe webhook URL is wrong, or, more often, the delivery was refused at the network level before it reached FenergoCheck that the URL matches Webhook Info exactly. If it does, see Webhook IP Allow-Listing.
Disconnecting failsA transformer library still uses the repositoryDelete the library first.
The feature appears unavailableThe feature isn't enabled for your tenantContact your Fenergo administrator to enable Transformer Libraries and Repository Connections.