@@ -200,6 +200,33 @@ jobs:
200
200
labels : |
201
201
:shipit: merge
202
202
203
+ - name : GitHub Private Dependency Labels
204
+ uses : actions-ecosystem/action-add-labels@v1
205
+ if : |
206
+ (github.event.action == 'opened' || github.event.action == 'reopened') &&
207
+ (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'dependabot-preview[bot]') &&
208
+ (
209
+ startsWith(github.event.pull_request.title, 'Bump JetBrains.ReSharper')
210
+ || startsWith(github.event.pull_request.title, 'Bump ReportGenerator')
211
+ || startsWith(github.event.pull_request.title, 'Bump Nuke.Common')
212
+ || startsWith(github.event.pull_request.title, 'Bump GitVersion.Tool')
213
+ || startsWith(github.event.pull_request.title, 'Bump Bogus')
214
+ || startsWith(github.event.pull_request.title, 'Bump coverlet')
215
+ || startsWith(github.event.pull_request.title, 'Bump FakeItEasy')
216
+ || startsWith(github.event.pull_request.title, 'Bump FluentAssertions')
217
+ || startsWith(github.event.pull_request.title, 'Bump xunit')
218
+ || startsWith(github.event.pull_request.title, 'Bump Microsoft.NET.Test.Sdk')
219
+ || startsWith(github.event.pull_request.title, 'Bump Microsoft.SourceLink')
220
+ || startsWith(github.event.pull_request.title, 'Bump Rocket.Surgery.Nuke')
221
+ || startsWith(github.event.pull_request.title, 'Bump Rocket.Surgery.MSBuild')
222
+ || startsWith(github.event.pull_request.title, 'Bump Rocket.Surgery.Extensions.Testing')
223
+ || startsWith(github.event.pull_request.title, 'Bump Roslynator.Analyzers')
224
+ )
225
+ with :
226
+ github_token : ' ${{ secrets.RSG_BOT_TOKEN }}'
227
+ labels : |
228
+ :briefcase: private-dependencies
229
+
203
230
- name : GitHub Remove Labels
204
231
if : |
205
232
github.event.action == 'closed'
0 commit comments