Skip to content

Commit

Permalink
Use secrets in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamloe committed Jun 18, 2024
1 parent 899055f commit a0113fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/logzio-logs-collector-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

- name: Run Go Tests
env:
LOGZIO_LOGS_API_TOKEN: ${{ env.LOGZIO_LOGS_API_TOKEN }}
LOGZIO_LOGS_API_TOKEN: ${{ secrets.LOGZIO_LOGS_API_TOKEN }}
run: |
go get go.uber.org/zap
go test -v ./tests/logs_e2e_test.go ./tests/common.go
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/logzio-telemetry-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:

- name: Run Go Tests
env:
LOGZIO_METRICS_API_KEY: ${{ env.LOGZIO_METRICS_API_KEY }}
LOGZIO_TRACES_API_KEY: ${{ env.LOGZIO_TRACES_API_KEY }}
LOGZIO_METRICS_API_KEY: ${{ secrets.LOGZIO_METRICS_API_KEY }}
LOGZIO_TRACES_API_KEY: ${{ secrets.LOGZIO_TRACES_API_KEY }}
run: |
go get go.uber.org/zap
go test -v ./tests/traces_e2e_test.go ./tests/common.go
Expand All @@ -86,4 +86,5 @@ jobs:
- name: Delete Kind cluster
if: always()
run: kind delete cluster --name kind-${{ github.run_id }}-${{ matrix.mode }}
run: kind delete cluster --name kind-${{ github.run_id }}-${{ matrix.mode }}

0 comments on commit a0113fb

Please sign in to comment.