Skip to content
  1. Mar 29, 2019
  2. Mar 13, 2019
  3. Mar 11, 2019
  4. Feb 22, 2019
  5. Feb 20, 2019
  6. Feb 19, 2019
  7. Feb 18, 2019
  8. Feb 15, 2019
  9. Feb 13, 2019
  10. Feb 11, 2019
  11. Jan 22, 2019
  12. Jan 11, 2019
  13. Jan 08, 2019
  14. Dec 19, 2018
  15. Dec 17, 2018
    • Lukas Eipert's avatar
      Add danger check for duplicate yarn dependencies · 243bd56f
      Lukas Eipert authored
      This danger check utilises `yarn-deduplicate` in order to show duplicate
      dependencies in the yarn.lock dependency tree.
      Often when introducing new dependencies or updating existing ones, yarn
      does not seem to build the most optimal dependency tree.
      
      In order to prevent those unnecessary dependency updates we are nudging
      developers and maintainers to resolve these issues in MRs. Automating
      this with danger especially helps, as yarn.lock files are not that easy
      to review.
      243bd56f
    • Sam Bigelow's avatar
  16. Dec 14, 2018
  17. Dec 06, 2018
  18. Dec 05, 2018
  19. Nov 16, 2018
  20. Nov 12, 2018
  21. Nov 09, 2018
  22. Nov 07, 2018
  23. Oct 23, 2018
    • Sean McGivern's avatar
      Also count specs in new files in Danger check · 0e616d71
      Sean McGivern authored
      We have a Danger check that warns if you made changes in app/ but not in
      spec/. However, this only checked for changed files - not new files. If
      you added an app file with no specs, it wouldn't warn; and it would warn
      erroneously if you added a missing spec file while changing a file in
      app/.
      0e616d71
  24. Oct 22, 2018
    • Lukas Eipert's avatar
      Create helper to get all changed files · 253e1818
      Lukas Eipert authored
      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.
      253e1818
  25. Sep 29, 2018
  26. Sep 28, 2018
  27. Sep 19, 2018
  28. Sep 18, 2018
    • Yorick Peterse's avatar
      Improve Emoji detection in commit messages · 4ef1dd09
      Yorick Peterse authored
      This changes our Danger integration so that it is smarter about
      detecting GitLab emoji in commit messages. This is done using a two step
      process:
      
      1. We use the old regular expression to determine if a commit message
         _might_ include an emoji.
      
      2. If this regular expression matches, we then check for all existing
         emoji names in the commit message. This might be a wee bit expensive,
         but because we couple it with the previous step it should be rarely
         executed.
      
      This ensures we don't trigger an error when a commit message includes
      text such as `:foo:bar:`, which is not a valid Emoji.
      
      Fixes https://gitlab.com/gitlab-org/release/framework/issues/15
      4ef1dd09
  29. Sep 14, 2018
    • Lukas Eipert's avatar
      Fix typo in Danger message · 40f81458
      Lukas Eipert authored
      40f81458
    • Yorick Peterse's avatar
      Relax Danger requirements about changed lines · 42f90b5f
      Yorick Peterse authored
      This relaxes the commit rules regarding the number of changed lines.
      Previously we required a detailed description if 20 or more lines were
      changed. Starting with this commit we change the rules so Danger only
      notifies you about writing a detailed description if:
      
      1. A commit changes more than 3 files
      2. The same commit changes more than 30 lines
      
      This should make it easier to do a find replace to fix a typo, without
      having to repeat what the subject line already says, while still
      reminding developers to write a detailed description for new features
      and other larger changes.
      
      Fixes https://gitlab.com/gitlab-org/release/framework/issues/13
      42f90b5f
  30. Sep 10, 2018
  31. Sep 06, 2018
  32. Sep 04, 2018
  33. Aug 24, 2018