Commit 76466fe5 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'pl-gitlab-ci-changelogs-yml' into 'master'

CI: No need to track changelogs/**/*.yml anymore

See merge request gitlab-org/gitlab!69757
parents c63253ad 0d83b3b8
...@@ -142,7 +142,6 @@ ...@@ -142,7 +142,6 @@
- ".gitlab-ci.yml" - ".gitlab-ci.yml"
- ".gitlab/ci/**/*.yml" - ".gitlab/ci/**/*.yml"
- "lib/gitlab/ci/templates/**/*.yml" - "lib/gitlab/ci/templates/**/*.yml"
- "{,ee/,jh/}changelogs/**/*.yml"
.docs-patterns: &docs-patterns .docs-patterns: &docs-patterns
- ".gitlab/route-map.yml" - ".gitlab/route-map.yml"
......
# Yamllint of CI-related yaml and changelogs. # Yamllint of CI-related yaml.
# This uses rules from project root `.yamllint`. # This uses rules from project root `.yamllint`.
lint-yaml: lint-yaml:
extends: extends:
...@@ -8,6 +8,6 @@ lint-yaml: ...@@ -8,6 +8,6 @@ lint-yaml:
stage: test stage: test
needs: [] needs: []
variables: variables:
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates changelogs LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates
script: script:
- yamllint -f colored $LINT_PATHS - yamllint -f colored $LINT_PATHS
# Generating changelog entries # Generating changelog entries
To generate and validate your changelog entries: From GitLab 14.0.0 onwards, [CHANGELOG.md](../CHANGELOG.md) is generated
by parsing [Git trailers](https://git-scm.com/docs/git-interpret-trailers)
in commit messages.
1. Run `bin/changelog` to generate. See [documentation](https://docs.gitlab.com/ee/development/changelog.html#how-to-generate-a-changelog-entry)
1. Run `yamllint changelogs` to validate. on how to generate changelog entries.
See [development/changelog] documentation for detailed usage.
[development/changelog]: https://docs.gitlab.com/ee/development/changelog.html
# Changelog archival # Changelog archival
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment