Compare commits
No commits in common. "3514e24a093659eecde388860ce67550811d7f6e" and "09b5bae6b3fdcc9251833220b8fc1dda0f9647b3" have entirely different histories.
3514e24a09
...
09b5bae6b3
6 changed files with 22 additions and 13 deletions
16
.forgejo/actions/precommit/Taskfile.yaml
Normal file
16
.forgejo/actions/precommit/Taskfile.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
init:
|
||||||
|
desc: Initialize pre-commit hooks
|
||||||
|
cmds:
|
||||||
|
- pre-commit install --install-hooks
|
||||||
|
run:
|
||||||
|
desc: Run pre-commit
|
||||||
|
cmds:
|
||||||
|
- pre-commit run --all-files
|
||||||
|
update:
|
||||||
|
desc: Update pre-commit hooks
|
||||||
|
cmds:
|
||||||
|
- pre-commit autoupdate
|
|
@ -23,18 +23,13 @@ jobs:
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
||||||
with:
|
with:
|
||||||
show-progress: false
|
show-progress: false
|
||||||
- name: setup .ssh directory
|
|
||||||
run: mkdir -p /home/ubuntu/.ssh && chmod 700 /home/ubuntu/.ssh
|
|
||||||
- name: Write ssh key
|
- name: Write ssh key
|
||||||
id: sshkey
|
id: sshkey
|
||||||
# uses: https://github.com/timheuer/base64-to-file@adaa40c0c581f276132199d4cf60afa07ce60eac # v1
|
uses: https://github.com/timheuer/base64-to-file@adaa40c0c581f276132199d4cf60afa07ce60eac # v1
|
||||||
uses: timheuer/base64-to-file@adaa40c0c581f276132199d4cf60afa07ce60eac # v1
|
|
||||||
with:
|
with:
|
||||||
encodedString: "${{ secrets.SSH_USER }}"
|
encodedString: "${{ secrets.SSH_USER }}"
|
||||||
fileName: id_ed25519
|
fileName: id_ed25519
|
||||||
fileDir: /home/ubuntu/.ssh
|
fileDir: ~/.ssh
|
||||||
- name: chmod id_ed25519
|
|
||||||
run: chmod 600 /home/ubuntu/.ssh/id_ed25519
|
|
||||||
- name: Renovate
|
- name: Renovate
|
||||||
uses: ./.forgejo/actions/renovate
|
uses: ./.forgejo/actions/renovate
|
||||||
with:
|
with:
|
||||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -18,5 +18,5 @@ omniconfig.yaml
|
||||||
config.xml
|
config.xml
|
||||||
.idea/
|
.idea/
|
||||||
.env
|
.env
|
||||||
*.secrets
|
.secrets
|
||||||
.github
|
.github
|
||||||
|
|
|
@ -5,4 +5,4 @@ tasks:
|
||||||
run:
|
run:
|
||||||
desc: Run ACT with custom image
|
desc: Run ACT with custom image
|
||||||
cmds:
|
cmds:
|
||||||
- act -P docker=catthehacker/ubuntu:act-latest --secret-file .secrets -s GH_TOKEN -s RENOVATE_TOKEN -s SSH_USER
|
- act -P docker=catthehacker/ubuntu:act-latest
|
||||||
|
|
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -21,5 +21,4 @@
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
"editor.fontFamily": "FiraCode Nerd Font",
|
"editor.fontFamily": "FiraCode Nerd Font",
|
||||||
"editor.hover.delay": 1500,
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,12 +5,11 @@ pkgs.mkShell {
|
||||||
NIX_CONFIG = "experimental-features = nix-command flakes";
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
age
|
|
||||||
gitleaks
|
gitleaks
|
||||||
go-task
|
go-task
|
||||||
go-task
|
|
||||||
lazydocker
|
|
||||||
pre-commit
|
pre-commit
|
||||||
sops
|
sops
|
||||||
|
age
|
||||||
|
go-task
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue