Skip to content

Commit

Permalink
Remove GITHUB_TOKEN and GITLAB_TOKEN docs references
Browse files Browse the repository at this point in the history
  • Loading branch information
davegaeddert committed Sep 11, 2019
1 parent 4f0dc53 commit 8bef778
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/content/circleci.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Examples and instructions for setting up deps in CircleCI

## 1. Set your environment variables

For deps variables that should be kept secret (such as `GITHUB_TOKEN`) you'll want to use a [context](https://circleci.com/docs/2.0/contexts/).
For deps variables that should be kept secret (such as `DEPS_GITHUB_TOKEN`) you'll want to use a [context](https://circleci.com/docs/2.0/contexts/).
You can get your `DEPS_TOKEN` from [3.dependencies.io](https://3.dependencies.io).

[![CircleCI context for deps](/assets/img/screenshots/circleci-context.png)](/assets/img/screenshots/circleci-context.png)
Expand Down
2 changes: 1 addition & 1 deletion docs/content/github-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
- run: $HOME/bin/deps ci
env:
DEPS_TOKEN: ${{ secrets.DEPS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEPS_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
3 changes: 1 addition & 2 deletions docs/content/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ The setup is more involved but offers a different way to manage permissions and
1. Log in with the account you want deps to use (this will be the author of deps pull requests)
1. Give it access to the repo you're setting up
1. [Generate a new token](https://github.com/settings/tokens) with the `repo` scope
1. Set the required environment variables in your CI
- `GITHUB_TOKEN` or `DEPS_GITHUB_TOKEN`
1. Set the `DEPS_GITHUB_TOKEN` environment variable in your CI

## GitHub App

Expand Down
3 changes: 1 addition & 2 deletions docs/content/gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ You can use your personal account to do this, or a "bot" account that your team
1. Give it access to the repo you're setting up
1. [Generate a new token](https://gitlab.com/profile/personal_access_tokens) with the `write_repository` and `api` scopes
[![GitLab personal access token settings for deps](/assets/img/screenshots/gitlab-personal-access-token.png)](/assets/img/screenshots/gitlab-personal-access-token.png)
1. Set the required environment variables in your CI
- `GITLAB_TOKEN` or `DEPS_GITLAB_TOKEN`
1. Set the `DEPS_GITLAB_TOKEN` environment variable in your CI

## Merge request settings

Expand Down
2 changes: 1 addition & 1 deletion docs/content/other-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The basic steps for using `deps ci` are generally the same, regardless of provid
## 1. Set the environment variables

- `DEPS_TOKEN` from [3.dependencies.io](https://3.dependencies.io)
- Credentials for your git host (ex. `GITHUB_TOKEN`)
- Credentials for your git host (ex. `DEPS_GITHUB_TOKEN`)

## 2. Add a scheduled job to run deps

Expand Down

0 comments on commit 8bef778

Please sign in to comment.