diff --git a/.changeset/long-ways-count.md b/.changeset/long-ways-count.md new file mode 100644 index 0000000000..e04c1225cc --- /dev/null +++ b/.changeset/long-ways-count.md @@ -0,0 +1,57 @@ +--- +'@backstage/plugin-techdocs-backend': minor +'@backstage/create-app': patch +--- + +Updated naming of environment variables. New pattern [NAME]\_TOKEN for Github, Gitlab, Azure & Github enterprise access tokens. + +### Detail: + +- Previously we have to export same token for both, catalog & scaffolder + +```bash +export GITHUB_ACCESS_TOKEN=foo +export GITHUB_PRIVATE_TOKEN=foo +``` + +with latest changes, only single export is sufficient. + +```bash +export GITHUB_TOKEN=foo +export GITLAB_TOKEN=foo +export GHE_TOKEN=foo +export AZURE_TOKEN=foo +``` + +### list: + +
| Old name | +New name | +
|---|---|
| GITHUB_ACCESS_TOKEN | +GITHUB_TOKEN | +
| GITHUB_PRIVATE_TOKEN | +GITHUB_TOKEN | +
| GITLAB_ACCESS_TOKEN | +GITLAB_TOKEN | +
| GITLAB_PRIVATE_TOKEN | +GITLAB_TOKEN | +
| AZURE_PRIVATE_TOKEN | +AZURE_TOKEN | +
| GHE_PRIVATE_TOKEN | +GHE_TOKEN | +