diff options
Diffstat (limited to 'doc/ci/yaml')
-rw-r--r-- | doc/ci/yaml/README.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 84bd67b42c3..e0c41d821a6 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -867,6 +867,10 @@ CAUTION: **Warning:** There are some points to be aware of when [using this feature with new branches or tags *without* pipelines for merge requests](#using-onlychanges-without-pipelines-for-merge-requests). +CAUTION: **Warning:** +There are some points to be aware of when +[using this feature with scheduled pipelines](#using-onlychanges-with-scheduled-pipelines). + ##### Using `only:changes` with pipelines for merge requests With [pipelines for merge requests](../merge_request_pipelines/index.md), @@ -931,6 +935,12 @@ This could result in some unexpected behavior, including: - When pushing a new commit, the changed files are calculated using the previous commit as the base SHA. +##### Using `only:changes` with scheduled pipelines + +`only:changes` always evaluates as "true" in [Scheduled pipelines](../pipelines/schedules.md). +All files are considered to have "changed" when a scheduled pipeline +runs. + ### `rules` > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/29011) in GitLab 12.3. @@ -3042,7 +3052,7 @@ include: > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/issues/53903) in GitLab 11.7. To include files from another private project under the same GitLab instance, -use `include:file`. This file is referenced using full paths relative to the +use `include:file`. This file is referenced using full paths relative to the root directory (`/`). For example: ```yaml |