Commit a07313de authored by Michael Kriese's avatar Michael Kriese
Browse files

docs: add remote include sample

parent c9c8ed45
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -86,6 +86,16 @@ renovate:
        - if: '$CI_PIPELINE_SOURCE == "push"'
```

You can now use remote includes to use these templates on self-hosted gitlab instances.
The folling samples uses the `v12.0.0` tag.
You can also use `main` branch but a tag is preferred.
Refer to GitLab [include](https://docs.gitlab.com/ee/ci/yaml/includes.html) samples for more information. 

```yaml
include:
    - remote: https://gitlab.com/renovate-bot/renovate-runner/-/raw/v12.0.0/templates/renovate.gitlab-ci.yml
```

## Configure the Schedule

Add a schedule (`CI / CD` > `Schedules`) to run Renovate regularly.