From 4eb602e9ff92bc79d92226486ddc39ddc15c83b7 Mon Sep 17 00:00:00 2001 From: David Rickard Date: Tue, 4 Jun 2024 21:31:55 -0700 Subject: [PATCH] docs: Improved documentation for secrets (#231) --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3cd1579..f5ff55a 100644 --- a/README.md +++ b/README.md @@ -69,12 +69,17 @@ jobs: pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)' pull_request_base_branch_name: 'main' env: + # A classic GitHub Personal Access Token with the 'repo' scope selected (the user should have write access to the repository). GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + + # A numeric ID, found at https://crowdin.com/project//tools/api CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} + + # Visit https://crowdin.com/settings#api-key to create this token CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} ``` -`secrets.GH_TOKEN` - a GitHub Personal Access Token with the `repo` scope selected (the user should have write access to the repository). +Enter these secrets in GitHub under the repository settings -> Secrets and variables -> Actions. ## Supported options