You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/Renovate.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,9 +55,11 @@ For example, there are Dockerfiles in the [dotnet/dotnet-buildtools-prereqs-dock
55
55
Protecting GitHub repositories in the dotnet organization from direct access by the Renovate tool is crucial.
56
56
Renovate will be used in fork mode, limiting its permissions to forked repositories.
57
57
This avoids giving write permissions to Renovate on any dotnet repository.
58
+
This means that Renovate acts as though it's any other outside contributor, not requiring any special permissions in the dotnet organization or repositories.
59
+
58
60
A GitHub bot account, `dotnet-renovate-bot`, is used to manage the Renovate operations.
59
61
This account has the ability to create forks from dotnet repositories, which will be the source of the head branch for PRs that are created.
60
-
62
+
The PRs generated by Renovate will be done using this bot account.
61
63
GitHub scopes required by this account: `repo`, `workflow`.
62
64
63
65
### Repo Usage
@@ -67,6 +69,13 @@ This template handles the execution of Renovate, ensuring a standardized approac
67
69
Repositories wishing to make use of Renovate can reference this template from a pipeline YAML file, setting the schedule trigger as desired.
68
70
Consuming repositories are responsible for providing their own [Renovate configuration file](https://docs.renovatebot.com/configuration-options/) that describes which dependencies should be updated.
69
71
72
+
Repositories are in control of how often Renovate will run via the pipeline schedule trigger (once a day, once a week, etc).
73
+
Typically, a pipeline would be configured to update all dependencies at once in which case all dependencies are described in one Renovate config file.
74
+
But in some cases, it may be desired to have certain dependencies updated on a different schedule than others.
75
+
In that case, the repo maintainer would define multiple pipelines with those separate schedules, all configured to run Renovate.
76
+
Importantly, each of those pipelines would need to reference a separate Renovate config file which defines the scope of the updates that will be targeted.
77
+
Lastly, a maintainer is free to manually run the pipeline if an expected update is needed right away.
0 commit comments