Skip to content

Commit 1ba35d2

Browse files
committed
Try to add renovate-bot to auto-merge
1 parent 3bf41ca commit 1ba35d2

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/automerge.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ jobs:
1111
# Run only if PR is inside JabRef's main repository and created by dependabot or by an update workflow
1212
if: >
1313
(github.repository == 'JabRef/jabref') &&
14-
(github.event.pull_request.head.repo.full_name == 'JabRef/jabref') &&
1514
(
16-
(github.actor == 'dependabot[bot]') ||
15+
(github.actor == 'renovate-bot' && startsWith(github.event.pull_request.title, 'chore(deps):')) ||
1716
(
18-
startsWith(github.event.pull_request.title, '[Bot] ') ||
19-
startsWith(github.event.pull_request.title, 'Bump ') ||
20-
startsWith(github.event.pull_request.title, 'New Crowdin updates') ||
21-
startsWith(github.event.pull_request.title, 'Update Gradle Wrapper from')
17+
(github.event.pull_request.head.repo.full_name == 'JabRef/jabref') &&
18+
(
19+
(github.actor == 'dependabot[bot]') ||
20+
(
21+
startsWith(github.event.pull_request.title, '[Bot] ') ||
22+
startsWith(github.event.pull_request.title, 'Bump ') ||
23+
startsWith(github.event.pull_request.title, 'New Crowdin updates') ||
24+
startsWith(github.event.pull_request.title, 'Update Gradle Wrapper from')
25+
)
26+
)
2227
)
2328
)
2429
steps:

0 commit comments

Comments
 (0)