Skip to content

Commit 4da0064

Browse files
authored
fix: unblock renovate pending branches (#52)
* fix: run CI checks on renovate branches to unblock pending branches Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com> * fix: restrict only agntcy-automation bot can push to renovate branches Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com> * fix: run schedule 3 days instead of 1 Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com> --------- Signed-off-by: Árpád Csepi <csepi.arpad@outlook.com>
1 parent ca1330a commit 4da0064

5 files changed

Lines changed: 24 additions & 3 deletions

File tree

.github/settings.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,16 @@ repository:
113113
# apps: []
114114
# users: []
115115
# teams: []
116+
117+
branches:
118+
- name: renovate/*
119+
protection:
120+
# Dependency update branches: only the Renovate automation app may push.
121+
required_pull_request_reviews: null
122+
required_status_checks: null
123+
enforce_admins: true
124+
restrictions:
125+
apps:
126+
- agntcy-automation
127+
users: []
128+
teams: []

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
push:
88
branches:
99
- main
10+
- renovate/**
1011
tags:
1112
- "v*.*.*"
1213
pull_request:

.github/workflows/codeql.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ name: "CodeQL Advanced"
55

66
on:
77
push:
8-
branches: ["main"]
8+
branches:
9+
- main
10+
- renovate/**
911
pull_request:
1012
branches: ["main"]
1113
schedule:

.github/workflows/conventional_commits.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ name: commit-msg
33

44
on:
55
push:
6-
# Run superlinter on pushes to default branch
6+
# Run superlinter on pushes to default branch and Renovate branches
77
branches:
88
- main
9+
- renovate/**
910
# Run superlinter on pull request events
1011
pull_request:
1112

renovate.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@
3232
],
3333
"enabled": true,
3434
"minimumReleaseAge": "7 days",
35-
"schedule": ["before 6am on Monday"],
35+
"schedule": [
36+
"before 6am on Monday",
37+
"before 6am on Wednesday",
38+
"before 6am on Friday"
39+
],
3640
"prCreation": "not-pending",
3741
"enabledManagers": [
3842
"custom.regex",

0 commit comments

Comments
 (0)