-
-
Notifications
You must be signed in to change notification settings - Fork 205
Expand file tree
/
Copy path.env.example
More file actions
33 lines (26 loc) · 1.37 KB
/
Copy path.env.example
File metadata and controls
33 lines (26 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Environment used to build and release the CLI.
#
# Copy to .env and fill in what you need; .env is gitignored, .env.example is not.
# The build scripts load .env automatically, but a value already exported in the
# environment always wins - CI secrets are never shadowed by a stray local file.
# --- Analytics -------------------------------------------------------------
# Measurement Protocol api secret, paired with the measurement id in
# scripts/set-ga-id.js. Create one under
# GA4 Admin -> Data Streams -> <stream> -> Measurement Protocol API secrets
#
# Deliberately not committed: this repository is public, so a committed secret
# would make every contributor's `npm run pack.release` report into the
# production property. Leave it unset locally - builds then report nothing.
#
# Set as the GA_API_SECRET repository secret for releases.
GA_API_SECRET=
# Same, for the dev measurement id. Unused until a dev id is set in
# scripts/set-ga-id.js.
GA_API_SECRET_DEV=
# --- Publishing ------------------------------------------------------------
# Only needed when the USE_NPM_TOKEN repository variable is "true". The default
# path is OIDC trusted publishing, which needs no token at all.
NPM_PUBLISH_TOKEN=
# Used by the OpenSSF Scorecard workflow to read branch protection rules.
SCORECARD_TOKEN=
# GITHUB_TOKEN is provided by Actions automatically and never needs setting here.