diff --git a/docs/getting-started/configuration.md b/docs/getting-started/configuration.md index e7d100f410..4c8a65553f 100644 --- a/docs/getting-started/configuration.md +++ b/docs/getting-started/configuration.md @@ -217,8 +217,7 @@ for 7 days, it's a lucky number. Screenshot of the GitHub Personal Access Token creation page

-Set the scope to your likings. For this tutorial, selecting "repo" and "workflow" is required as the scaffolding job in this guide configures a GitHub actions workflow for the newly created project. -enough. +Set the scope to your likings. For this tutorial, selecting `repo` and `workflow` is required as the scaffolding job in this guide configures a GitHub actions workflow for the newly created project. In the `app-config.yaml`, search for `integrations:` and add your token, like we did in below example: @@ -227,7 +226,7 @@ did in below example: integrations: github: - host: github.com - token: ghp_urtokendeinfewinfiwebfweb + token: $GITHUB_TOKEN ``` That's settled. This information will be leveraged by other plugins. diff --git a/packages/create-app/templates/default-app/app-config.yaml.hbs b/packages/create-app/templates/default-app/app-config.yaml.hbs index d56a1beb76..e274ffeaf2 100644 --- a/packages/create-app/templates/default-app/app-config.yaml.hbs +++ b/packages/create-app/templates/default-app/app-config.yaml.hbs @@ -54,6 +54,8 @@ backend: integrations: github: - host: github.com + # This is a Personal Access Token or PAT from GitHub. You can find out how to generate this token, and more information + # about setting up the GitHub integration here: https://backstage.io/docs/getting-started/configuration#setting-up-a-github-integration token: ${GITHUB_TOKEN} ### Example for how to add your GitHub Enterprise instance using the API: # - host: ghe.example.net