fix private repo pull
Some checks failed
/ Renovate (push) Failing after 5s

This commit is contained in:
Joseph Hanson 2024-07-29 21:42:01 -05:00
parent 88cc8bf491
commit 3514e24a09
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
4 changed files with 10 additions and 4 deletions

View file

@ -23,13 +23,18 @@ 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: https://github.com/timheuer/base64-to-file@adaa40c0c581f276132199d4cf60afa07ce60eac # v1
uses: timheuer/base64-to-file@adaa40c0c581f276132199d4cf60afa07ce60eac # v1
with:
encodedString: "${{ secrets.SSH_USER }}"
fileName: id_ed25519
fileDir: ~/.ssh
fileDir: /home/ubuntu/.ssh
- name: chmod id_ed25519
run: chmod 600 /home/ubuntu/.ssh/id_ed25519
- 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
- act -P docker=catthehacker/ubuntu:act-latest --secret-file .secrets -s GH_TOKEN -s RENOVATE_TOKEN -s SSH_USER

View file

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