Compare commits

..

No commits in common. "3514e24a093659eecde388860ce67550811d7f6e" and "09b5bae6b3fdcc9251833220b8fc1dda0f9647b3" have entirely different histories.

6 changed files with 22 additions and 13 deletions

View 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

View file

@ -23,18 +23,13 @@ jobs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
show-progress: false
- name: setup .ssh directory
run: mkdir -p /home/ubuntu/.ssh && chmod 700 /home/ubuntu/.ssh
- name: Write ssh key
id: sshkey
# uses: https://github.com/timheuer/base64-to-file@adaa40c0c581f276132199d4cf60afa07ce60eac # v1
uses: timheuer/base64-to-file@adaa40c0c581f276132199d4cf60afa07ce60eac # v1
uses: https://github.com/timheuer/base64-to-file@adaa40c0c581f276132199d4cf60afa07ce60eac # v1
with:
encodedString: "${{ secrets.SSH_USER }}"
fileName: id_ed25519
fileDir: /home/ubuntu/.ssh
- name: chmod id_ed25519
run: chmod 600 /home/ubuntu/.ssh/id_ed25519
fileDir: ~/.ssh
- name: Renovate
uses: ./.forgejo/actions/renovate
with:

2
.gitignore vendored
View file

@ -18,5 +18,5 @@ omniconfig.yaml
config.xml
.idea/
.env
*.secrets
.secrets
.github

View file

@ -5,4 +5,4 @@ tasks:
run:
desc: Run ACT with custom image
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

View file

@ -21,5 +21,4 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.fontFamily": "FiraCode Nerd Font",
"editor.hover.delay": 1500,
}

View file

@ -5,12 +5,11 @@ pkgs.mkShell {
NIX_CONFIG = "experimental-features = nix-command flakes";
nativeBuildInputs = with pkgs; [
age
gitleaks
go-task
go-task
lazydocker
pre-commit
sops
age
go-task
];
}