Skip to content

Commit 83bc51f

Browse files
authored
Add renovate (#8)
1 parent 758468b commit 83bc51f

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/renovate.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["github>SonarSource/renovate-config:languages-team"],
4+
"configMigration": true,
5+
"enabledManagers": ["github-actions", "maven"],
6+
"dockerfile": {
7+
"enabled": true
8+
},
9+
"packageRules": [
10+
{
11+
"matchManagers": ["github-actions"],
12+
"pinDigests": false,
13+
"groupName": "all github actions",
14+
"groupSlug": "all-github-actions"
15+
},
16+
{
17+
"matchManagers": ["github-actions"],
18+
"matchUpdateTypes": ["pin", "rollback"],
19+
"enabled": false
20+
},
21+
{
22+
"matchUpdateTypes": ["minor", "patch"],
23+
"matchCurrentVersion": "!/^0/"
24+
}
25+
],
26+
"autoApprove": true,
27+
"rebaseWhen": "never"
28+
}

.github/workflows/PullRequestCreated.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
# For external PR, ticket should be created manually
1414
if: |
1515
github.event.pull_request.head.repo.full_name == github.repository
16+
&& github.event.sender.type != 'Bot'
1617
steps:
1718
- id: secrets
1819
uses: SonarSource/vault-action-wrapper@v3

0 commit comments

Comments
 (0)