Skip to content

Commit 0b0849d

Browse files
author
Thomas G.
committed
feat: ✨ add secrets mgmt
1 parent 414bc84 commit 0b0849d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

src/act/devcontainer-feature.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "act",
33
"name": "Nektos Act",
44
"description": "A tool for running GitHub Actions locally",
5-
"version": "1.3.0",
5+
"version": "1.4.2",
66
"dependsOn": {
77
"ghcr.io/devcontainers/features/docker-in-docker": {}
88
},
@@ -16,5 +16,8 @@
1616
"description": "The version of act to install",
1717
"default": "master"
1818
}
19+
},
20+
"postCreateCommand": {
21+
"config": "configure-feature act"
1922
}
2023
}

src/act/stubs/.github/workflows/#.secrets

Whitespace-only changes.

stubs/.devcontainer/start.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ git config --global --add safe.directory ${containerWorkspaceFolder:-.}
77
if [ -z "$CODESPACES" ]; then
88
git config --global gpg.program gpg2
99
fi
10+
11+
echo "SSH_PRIVATE_KEY=$(cat ~/.ssh/id_rsa | tr -d '\n')" >>.github/workflows/.secrets

0 commit comments

Comments
 (0)