Skip to content

Commit 6d98f10

Browse files
[tool] chore(tooling): improve and sync renovate & gh actions
1 parent 6a5c471 commit 6d98f10

File tree

4 files changed

+59
-37
lines changed

4 files changed

+59
-37
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "[OAEV Shared] Auto Label"
2+
on:
3+
pull_request:
4+
branches: [main, release/current]
5+
types: [opened, reopened]
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
jobs:
10+
auto-label:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: "Auto Label"
14+
uses: FiligranHQ/filigran-ci-tools/actions/auto-label@v1
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "[OAEV Shared] Check Signed Commits in PR"
2+
on:
3+
pull_request_target:
4+
branches: [main, release/current]
5+
permissions:
6+
contents: read
7+
pull-requests: write
8+
jobs:
9+
check-signed-commits:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check signed commits in PR
13+
uses: FiligranHQ/filigran-ci-tools/actions/check-signed-commit@v1
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "[OAEV Shared] Validate PR title Worker"
2+
on:
3+
pull_request:
4+
branches: [main, release/current]
5+
types: [opened, edited, reopened, ready_for_review, synchronize]
6+
jobs:
7+
validate-pr-title:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: "Generate a token"
11+
id: generate-token
12+
if: github.event.pull_request.head.repo.full_name == github.repository
13+
uses: actions/create-github-app-token@v2
14+
with:
15+
app-id: ${{ secrets.OPENAEV_PR_CHECKS_APP_ID }}
16+
private-key: ${{ secrets.OPENAEV_PR_CHECKS_PRIVATE_KEY }}
17+
- name: "Validate PR title and create check"
18+
uses: FiligranHQ/filigran-ci-tools/actions/pr-title-check@v1
19+
with:
20+
token: ${{ steps.generate-token.outputs.token }}

renovate.json

Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,16 @@
77
"dependencies",
88
"filigran team"
99
],
10-
"prConcurrentLimit": 2,
11-
"baseBranchPatterns": [
12-
"release/current",
13-
"main"
10+
"minimumReleaseAge": "3 days",
11+
"prHourlyLimit": 2,
12+
"prConcurrentLimit": 20,
13+
"timezone": "Europe/Paris",
14+
"schedule": [
15+
"* 0-4,22-23 * * 1-5",
16+
"* * * * 0,6"
1417
],
15-
"packageRules": [
16-
{
17-
"matchUpdateTypes": [
18-
"minor"
19-
],
20-
"prPriority": 5
21-
},
22-
{
23-
"matchBaseBranches": [
24-
"release/current"
25-
],
26-
"commitMessageSuffix": null
27-
},
28-
{
29-
"matchJsonata": [
30-
"$exists(isVulnerabilityAlert)"
31-
],
32-
"matchBaseBranches": [
33-
"release/current"
34-
],
35-
"enabled": false
36-
},
37-
{
38-
"matchJsonata": [
39-
"$not($exists(isVulnerabilityAlert))"
40-
],
41-
"matchBaseBranches": [
42-
"main"
43-
],
44-
"enabled": false
45-
}
46-
]
47-
}
18+
"updateNotScheduled": false,
19+
"rebaseWhen": "conflicted",
20+
"commitMessageAction": "update",
21+
"commitMessagePrefix": "[client-python] chore(deps):"
22+
}

0 commit comments

Comments
 (0)