Commit graph

20 commits

Author SHA1 Message Date
GitLab Bot
89861e72b7 Add latest changes from gitlab-org/gitlab@master 2019-09-23 06:06:19 +00:00
Ash McKenzie
9fc9ab2ba2 Add new GitlabDanger class
This class encapsulates our use of the Danger gem.
2019-09-06 11:21:53 +00:00
Ash McKenzie
f34e4545ec Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'"
This reverts merge request !32196
2019-09-06 07:14:30 +00:00
Ash McKenzie
70e1a17604
Update some Danger rules to not rely upon CI
Convert a bunch of Danger rules so they can run
locally.
2019-09-06 10:56:54 +10:00
Evan Read
a0c6418dd7 Reduce dangerbot message to the essentials 2019-03-13 09:49:24 +00:00
Mike Lewis
07c32a0df5 Merge branch 'master' into 'template-improvements-for-documentation'
# Conflicts:
#   .gitlab/merge_request_templates/Documentation.md
2019-02-18 21:38:24 +00:00
Mike Lewis
f1645c744f Update Documentation Dangerfile with small wording change 2019-02-18 21:23:25 +00:00
Nick Thomas
324a8fa28e
Fix the documentation Dangerfile 2019-02-18 10:03:46 +00:00
Nick Thomas
77b2ecd2b1
Reviewer roulette via Danger
Make danger pick reviewers and maintainers at random, for feontend,
backend, database, etc, changes, whenever files belonging to those
teams get changed.
2019-02-13 16:41:28 +00:00
Nick Thomas
f034a35250
Move change category detection to a helper 2019-02-13 16:30:02 +00:00
Mike Lewis
62f65a6d02 Update Dangerfile per updated Technical Writing review policy 2019-02-11 21:19:06 +00:00
Achilleas Pipinellis
722b849651
Change Monitoring to Monitor in docs dangerfile 2019-01-22 15:39:22 +01:00
George Tsiolis
35eee0b4b0 Update danger for documentation [ci skip]
Rename ~Packaging label to ~Package
2018-12-19 13:51:29 +02:00
Marcia Ramos
b74e6d64a4 Update docs' Dangerfile 2018-12-06 13:32:17 +00:00
Achilleas Pipinellis
3ed37f181e
Make the table of tech writers and stages more compact 2018-11-16 19:32:14 +01:00
Achilleas Pipinellis
bcb2c6de63
Proper markdown table in docs Dangerfile 2018-11-12 10:09:02 +01:00
Mike Lewis
ce9e3b891b Edits to docs Dangerfile 2018-11-09 18:55:27 +00:00
Achilleas Pipinellis
3a38ec323d
Dangerbot: mention tech writers based on DevOps stage 2018-11-09 16:40:45 +01:00
Lukas Eipert
253e1818aa
Create helper to get all changed files
Danger apparently has three different objects which could contain files
you often want to check:

 - git.added_files
 - git.modified_files
 - git.renamed_files

The problem: If a file is renamed, `modified_files` contains the file
path before the rename. In some Danger checks we use `added_files` +
`modified_files`, which might contain the deleted paths of renamed
files, but missing the new paths of renamed files.

So we need to consider `renamed_files` as well.
2018-10-22 11:04:55 +02:00
Achilleas Pipinellis
b1b55371c6
Add Documentation Dangerfile
Every time a doc change is made, a comment to
ping the @gl-docsteam is added.
2018-09-06 10:50:35 +02:00