DejaCode's integration with Forgejo allows you to automatically forward Workflow Requests to Forgejo repository Issues. This behavior can be selectively applied to any Request Template of your choice.
- A Forgejo repository that you want to integrate with DejaCode.
- A Forgejo user account with sufficient permissions (at least write access) to create and manage issues in that repository.
To enable integration, you need a personal access token from Forgejo.
- Generate a Token:
- Log into your Forgejo instance
- Go to your User settings → Applications → Generate New Token
- Set a clear name like
DejaCode Integration - Select permissions:
issue: Read and write: Create and update issues
- Generate the token and copy it securely
Note
It is recommended to create a dedicated Forgejo user such as
dejacode-integration to manage automated activity for better traceability.
To use your Forgejo token in DejaCode:
- Go to the Administration dashboard
- Navigate to Dataspaces, and select your Dataspace
- Scroll to the Forgejo Integration section under Configuration
- Paste your Forgejo token in the Forgejo token field
- Save the form
Go to the Administration dashboard
Navigate to Workflow > Request templates
Create or edit a Request Template in your Dataspace
Set the Issue Tracker ID field to your Forgejo repository URL, e.g.:
https://forgejo.example.org/org/repo_name
Once the integration is configured:
- New Requests using this template will be automatically pushed to Forgejo
- Field updates (like title or priority) and status changes (e.g. closed) will be synced
- New Comments on a DejaCode Request will be propagated to the Forgejo Issue.