add changelogs/README.md
this is to quickstart contributors who don't work daily on the codebase
This commit is contained in:
parent
1cd080c71a
commit
83b1c44a77
|
@ -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
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: add readme to changelogs directory
|
||||
merge_request: 25209
|
||||
author: "@glensc"
|
||||
type: added
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue