Skip to content

Commit

Permalink
improvement!: Use BUILDKITE_ANALYTICS_TOKEN.
Browse files Browse the repository at this point in the history
Switch to using the `BUILDKITE_ANALYTICS_TOKEN` environment variable for
the API token to be consistent across collectors.
  • Loading branch information
jimsynz committed Jun 1, 2022
1 parent 3943e8f commit 9f9365d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mix_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
env:
MIX_ENV: test
BUILDKITE_ANALYTICS_API_TOKEN: ${{ secrets.BUILDKITE_ANALYTICS_API_TOKEN }}
BUILDKITE_ANALYTICS_TOKEN: ${{ secrets.BUILDKITE_ANALYTICS_TOKEN }}
strategy:
matrix:
elixir: [1.13.4]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import Config


config :buildkite_test_collector,
api_key: System.get_env("BUILDKITE_ANALYTICS_API_TOKEN")
api_key: System.get_env("BUILDKITE_ANALYTICS_TOKEN")
```

4. Add `BuildkiteTestCollectorFormatter` to your ExUnit configuration in
Expand Down
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Config

config :buildkite_test_collector,
api_key: System.get_env("BUILDKITE_ANALYTICS_API_TOKEN")
api_key: System.get_env("BUILDKITE_ANALYTICS_TOKEN")

0 comments on commit 9f9365d

Please sign in to comment.