Commit 76fad613 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'yamllint-docs-deprecations-removals' into 'master'

Run Yamllint for docs deprecations removals

See merge request gitlab-org/gitlab!81957
parents 2e29275d 79dc0070
...@@ -167,6 +167,7 @@ ...@@ -167,6 +167,7 @@
.yaml-lint-patterns: &yaml-lint-patterns .yaml-lint-patterns: &yaml-lint-patterns
- ".gitlab-ci.yml" - ".gitlab-ci.yml"
- ".gitlab/ci/**/*.yml" - ".gitlab/ci/**/*.yml"
- "data/**/*.yml"
- "lib/gitlab/ci/templates/**/*.yml" - "lib/gitlab/ci/templates/**/*.yml"
.docs-patterns: &docs-patterns .docs-patterns: &docs-patterns
......
...@@ -8,6 +8,6 @@ lint-yaml: ...@@ -8,6 +8,6 @@ lint-yaml:
stage: lint stage: lint
needs: [] needs: []
variables: variables:
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates data/deprecations data/removals data/whats_new
script: script:
- yamllint --strict -f colored $LINT_PATHS - yamllint --strict -f colored $LINT_PATHS
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
announcement_date: "2021-06-22" # The date of the milestone release when this feature was first announced as deprecated. This should almost always be the 22nd of a month (YYYY-MM-22), unless you did an out of band blog post. announcement_date: "2021-06-22" # The date of the milestone release when this feature was first announced as deprecated. This should almost always be the 22nd of a month (YYYY-MM-22), unless you did an out of band blog post.
removal_milestone: "15.0" # The milestone when this feature is planned to be removed removal_milestone: "15.0" # The milestone when this feature is planned to be removed
removal_date: "2022-05-22" # The date of the milestone release when this feature was first announced as deprecated. This should almost always be the 22nd of a month (YYYY-MM-22), unless you did an out of band blog post. removal_date: "2022-05-22" # The date of the milestone release when this feature was first announced as deprecated. This should almost always be the 22nd of a month (YYYY-MM-22), unless you did an out of band blog post.
breaking_change: yes # If this deprecation is a breaking change, set this value to true breaking_change: true # If this deprecation is a breaking change, set this value to true
body: | # Do not modify this line, instead modify the lines below. body: | # Do not modify this line, instead modify the lines below.
The OAuth implicit grant authorization flow will be removed in our next major release, GitLab 15.0. Any applications that use OAuth implicit grant should switch to alternative [supported OAuth flows](https://docs.gitlab.com/ee/api/oauth2.html). The OAuth implicit grant authorization flow will be removed in our next major release, GitLab 15.0. Any applications that use OAuth implicit grant should switch to alternative [supported OAuth flows](https://docs.gitlab.com/ee/api/oauth2.html).
# The following items are not published on the docs page, but may be used in the future. # The following items are not published on the docs page, but may be used in the future.
......
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