add changelogs/README.md

this is to quickstart contributors who don't work daily on the codebase
This commit is contained in:
Elan Ruusamäe 2019-02-18 04:57:57 +00:00 committed by Evan Read
parent 1cd080c71a
commit 83b1c44a77
3 changed files with 16 additions and 1 deletions

10
changelogs/README.md Normal file
View File

@ -0,0 +1,10 @@
# Generating changelog entries
To generate and validate your changelog entries:
1. Run `bin/changelog` to generate.
1. Run `scripts/lint-changelog-yaml` to validate.
See [development/changelog] documentation for detailed usage.
[development/changelog]: https://docs.gitlab.com/ee/development/changelog.html

View File

@ -0,0 +1,5 @@
---
title: add readme to changelogs directory
merge_request: 25209
author: "@glensc"
type: added

View File

@ -3,7 +3,7 @@
require 'yaml'
invalid_changelogs = Dir['changelogs/**/*'].reject do |changelog|
next true if changelog =~ /(archive\.md|unreleased(-ee)?)$/
next true if changelog =~ /((README|archive)\.md|unreleased(-ee)?)$/
next false unless changelog.end_with?('.yml')
begin