Skip to content

Commit 440a6ac

Browse files
[tool] chore(tooling): improve and sync renovate & gh actions
1 parent 4a79dbf commit 440a6ac

5 files changed

Lines changed: 65 additions & 50 deletions

File tree

.github/workflows/auto-set-label.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "[OpenAEV] Auto Label"
2+
on:
3+
pull_request_target:
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@main
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "[OpenAEV] 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@main
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "[OpenAEV] Validate PR title Worker"
2+
on:
3+
pull_request:
4+
branches: [main, release/current]
5+
types: [opened, edited, reopened, ready_for_review, synchronize]
6+
permissions:
7+
contents: read
8+
jobs:
9+
validate-pr-title:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: "Generate a token"
13+
id: generate-token
14+
if: github.event.pull_request.head.repo.full_name == github.repository
15+
uses: actions/create-github-app-token@v2
16+
with:
17+
app-id: ${{ secrets.OPENAEV_PR_CHECKS_APP_ID }}
18+
private-key: ${{ secrets.OPENAEV_PR_CHECKS_PRIVATE_KEY }}
19+
- name: "Validate PR title and create check"
20+
uses: FiligranHQ/filigran-ci-tools/actions/pr-title-check@main
21+
with:
22+
token: ${{ steps.generate-token.outputs.token }}

renovate.json

Lines changed: 16 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,20 @@
33
"extends": [
44
"config:recommended"
55
],
6-
"baseBranchPatterns": [
7-
"release/current",
8-
"main"
6+
"labels": [
7+
"dependencies",
8+
"filigran team"
99
],
10-
"packageRules": [
11-
{
12-
"matchBaseBranches": [
13-
"release/current"
14-
],
15-
"commitMessageSuffix": null
16-
},
17-
{
18-
"matchJsonata": [
19-
"$exists(isVulnerabilityAlert)"
20-
],
21-
"matchBaseBranches": [
22-
"release/current"
23-
],
24-
"enabled": false
25-
},
26-
{
27-
"matchJsonata": [
28-
"$not($exists(isVulnerabilityAlert))"
29-
],
30-
"matchBaseBranches": [
31-
"main"
32-
],
33-
"enabled": false
34-
},
35-
{
36-
"matchPackageNames": [
37-
"mid"
38-
],
39-
"enabled": false
40-
}
41-
]
42-
}
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"
17+
],
18+
"updateNotScheduled": false,
19+
"rebaseWhen": "conflicted",
20+
"commitMessageAction": "update",
21+
"commitMessagePrefix": "[agent] chore(deps):"
22+
}

0 commit comments

Comments
 (0)