Skip to content

Commit a86ed6e

Browse files
authored
Merge pull request #77 from remerge/update-template
Update template
2 parents c88db05 + e7ad114 commit a86ed6e

File tree

26 files changed

+1008
-58
lines changed

26 files changed

+1008
-58
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# Changes here will be overwritten by Copier
3-
_commit: v2.42.0
3+
_commit: v2.57.0
44
_src_path: gh:remerge/template
55
project_id: terraform-modules
66
project_license: apache-2.0

.github/workflows/pre-commit.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,17 @@ jobs:
2929
# https://github.com/actions/checkout/releases
3030
uses: actions/checkout@v4
3131

32-
- name: Load envrc
33-
# https://github.com/HatsuneMiku3939/direnv-action/releases
34-
uses: HatsuneMiku3939/direnv-action@v1
32+
- name: Setup SSH agent
33+
# https://github.com/webfactory/ssh-agent/releases
34+
uses: webfactory/[email protected]
35+
with:
36+
ssh-private-key: "${{ secrets.DEPLOY_USER_SSH_KEY }}"
37+
38+
- name: Setup Git
39+
run: |
40+
curl -sL https://api.github.com/meta | jq -r '"github.com "+.ssh_keys[]' >> ~/.ssh/known_hosts
41+
git config --global url."[email protected]:".insteadOf "https://github.com/"
42+
git config --global advice.detachedHead false
3543
3644
- name: Setup Terraform
3745
# https://github.com/hashicorp/setup-terraform/releases
@@ -51,8 +59,9 @@ jobs:
5159
path: ~/.terraform.d/plugin-cache
5260
key: "${{ runner.os }}-terraform-${{ hashFiles('**/.terraform.lock.hcl') }}"
5361

54-
- name: Setup pre-commit
55-
run: python -m pip install pre-commit
62+
- name: Load envrc
63+
# https://github.com/HatsuneMiku3939/direnv-action/releases
64+
uses: HatsuneMiku3939/direnv-action@v1
5665

5766
- name: Install project dependencies
5867
run: make install

0 commit comments

Comments
 (0)