Compare commits
2 commits
09b5bae6b3
...
3514e24a09
Author | SHA1 | Date | |
---|---|---|---|
3514e24a09 | |||
88cc8bf491 |
6 changed files with 13 additions and 22 deletions
|
@ -1,16 +0,0 @@
|
||||||
---
|
|
||||||
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,13 +23,18 @@ 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: ~/.ssh
|
fileDir: /home/ubuntu/.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
|
- act -P docker=catthehacker/ubuntu:act-latest --secret-file .secrets -s GH_TOKEN -s RENOVATE_TOKEN -s SSH_USER
|
||||||
|
|
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -21,4 +21,5 @@
|
||||||
"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,11 +5,12 @@ 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