feat: allow for the sserver instance to sign off merge commits
This commit is contained in:
parent
c0aa5c138d
commit
259a6df8a7
1 changed files with 16 additions and 0 deletions
|
@ -76,6 +76,12 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# for signing reasons
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
package = pkgs.forgejo;
|
||||
|
@ -92,11 +98,21 @@ in {
|
|||
|
||||
# You can temporarily allow registration to create an admin user.
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
|
||||
# Add support for actions, based on act: https://github.com/nektos/act
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
DEFAULT_ACTIONS_URL = "github";
|
||||
};
|
||||
|
||||
# Allow for signing off merge requests
|
||||
"repository.signing" = {
|
||||
SIGNING_KEY = "5B2DED0FE9F8627A";
|
||||
SIGNING_NAME = "Skynet";
|
||||
SIGNING_EMAIL = "forgejo@glados.skynet.ie";
|
||||
MERGES = "always";
|
||||
};
|
||||
|
||||
# Sending emails is completely optional
|
||||
# You can send a test email from the web UI at:
|
||||
# Profile Picture > Site Administration > Configuration > Mailer Configuration
|
||||
|
|
Loading…
Reference in a new issue