Skip to content

Commit f961fb0

Browse files
committed
fix(ci): remove redundant EARTHLY_SECRETS and use explicit secrets
Removed unused EARTHLY_SECRETS from GitHub Actions for simplification. Updated Earthly command in Justfile to explicitly pass required secrets, enhancing security and maintainability in CI workflows.
1 parent f775c3b commit f961fb0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ jobs:
102102
SPEAKEASY_API_KEY: ${{ secrets.SPEAKEASY_API_KEY }}
103103
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
104104
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
105-
EARTHLY_SECRETS: "SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY,GORELEASER_KEY=$GORELEASER_KEY"
106105
107106
Deploy:
108107
runs-on: "formance-runner"

Justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ default:
66
pre-commit: generate earthly tidy lint export-docs-events
77

88
earthly:
9-
@earthly --no-output +pre-commit
9+
@earthly --no-output --secret SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY +pre-commit
1010

1111
lint:
1212
@golangci-lint run --fix --build-tags it --timeout 5m

0 commit comments

Comments
 (0)