Skip to content

Commit f0a17ca

Browse files
ci: use credentials of a service account for making new commits (#66)
Co-authored-by: @zimeg <[email protected]>
1 parent 4b512e0 commit f0a17ca

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

.github/workflows/versioning.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
run: |
2222
git config user.name '@theorderingmachine'
2323
git config user.email '[email protected]'
24+
git remote set-url origin [email protected]:zimeg/.DOTFILES.git
2425
- name: Reflect existing Nix
2526
id: darwin
2627
continue-on-error: true

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ versioning is done in a continuous fashion without worries of breaking changes.
66

77
## patches
88

9+
- `ci`: use credentials of a service account for making new commits 2025-12-07
910
- `ollama`: split the cuda configurations into separate compilation 2025-12-07
1011
- `ci`: include the fast fetch package alongside a runners packages 2025-12-07
1112
- `fastfetch`: print specs of the setup running the self hosted job 2025-12-07

machines/tim/configuration.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
owner = "_github-runner";
4747
group = "_github-runner";
4848
};
49+
"github/ssh" = {
50+
key = "ssh/private";
51+
owner = "_github-runner";
52+
};
4953
"ssh/public" = {
5054
owner = input.config.users.users.ez.name;
5155
path = "/Users/ez/.ssh/id_ed25519.pub";

machines/tim/programs/gh/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
hosts = {
55
"github.com" = {
66
git_protocol = "ssh";
7-
user = "zimeg";
7+
user = "theorderingmachine";
88
};
99
};
1010
};
1111
programs.git = {
1212
settings = {
1313
user = {
14-
email = "[email protected]";
15-
name = "@zimeg";
14+
email = "[email protected]";
15+
name = "@theorderingmachine";
1616
};
1717
};
1818
};

machines/tim/services/github-runners/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
extraLabels = [
99
"tim"
1010
];
11+
extraEnvironment = {
12+
GIT_SSH_COMMAND = "ssh -i /run/secrets/github/ssh -o StrictHostKeyChecking=accept-new";
13+
};
1114
extraPackages = [
15+
pkgs.openssh # https://github.com/openssh/openssh-portable
1216
pkgs.fastfetch # https://github.com/fastfetch-cli/fastfetch
1317
];
1418
name = "tim";

0 commit comments

Comments
 (0)