This commit is contained in:
@@ -14,6 +14,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
entrypoint: ["/etc/gitea-runner-entrypoint.sh"]
|
||||
|
||||
- name: Validate NixOS configuration
|
||||
run: |
|
||||
|
||||
@@ -41,6 +41,13 @@
|
||||
};
|
||||
|
||||
|
||||
environment.etc."gitea-runner-entrypoint.sh" = {
|
||||
mode = "0755";
|
||||
text = ''
|
||||
#!/bin/sh
|
||||
exec ${pkgs.coreutils}/bin/sleep "$@"
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -78,6 +85,7 @@
|
||||
];
|
||||
|
||||
|
||||
|
||||
extraGroups = [ "wheel" ];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user