Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a595b029
Commit
a595b029
authored
Jun 30, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve Danger bot doc by advising to use project access token
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
11916743
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
doc/development/dangerbot.md
doc/development/dangerbot.md
+4
-5
No files found.
doc/development/dangerbot.md
View file @
a595b029
...
...
@@ -119,13 +119,12 @@ However, you can speed these cycles up somewhat by emptying the
to revert the change before merging!
To enable the Dangerfile on another existing GitLab project, run the following
extra steps
, based on
[
this procedure
](
https://danger.systems/guides/getting_started.html#creating-a-bot-account-for-danger-to-use
)
:
extra steps:
1.
Add
`@gitlab-bot`
to the project as a
`reporter`
.
1.
Add the
`@gitlab-bot`
's
`GITLAB_API_PRIVATE_TOKEN`
value as a value for a new CI/CD
variable named
`DANGER_GITLAB_API_TOKEN`
.
1.
Create a
[
Project access tokens
](
../user/project/settings/project_access_tokens.md
)
.
1.
Add the token as a CI/CD project variable named
`DANGER_GITLAB_API_TOKEN`
.
You should add the
`~Danger bot`
label to the merge request before sending it
You should add the
~"Danger bot"
label to the merge request before sending it
for review.
## Current uses
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment