Skip to content

Commit 63fa041

Browse files
zzswangcursoragent
andcommitted
ci: add Renovate for actions-runner and tighten CI triggers
Track only the upstream base image with fix: PRs for release-please, and limit CI pushes to main/PR to avoid Renovate branch image spam. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 9668656 commit 63fa041

2 files changed

Lines changed: 26 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ name: CI
33
on:
44
push:
55
branches:
6-
- '*'
6+
- main
77
pull_request:
88
types: [opened, reopened, edited, synchronize]
99
branches:
10-
- 'main'
10+
- main
11+
1112

1213
permissions: write-all
1314

renovate.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended"],
4+
"semanticCommits": "enabled",
5+
"commitMessagePrefix": "fix:",
6+
"commitMessageAction": "bump",
7+
"commitMessageTopic": "actions-runner",
8+
"prTitle": "fix: bump actions-runner to {{newVersion}}",
9+
"packageRules": [
10+
{
11+
"description": "Only track upstream actions-runner base image",
12+
"matchDatasources": ["docker"],
13+
"matchPackageNames": ["ghcr.io/actions/actions-runner"],
14+
"enabled": true
15+
},
16+
{
17+
"description": "Disable everything else in this repo",
18+
"matchPackagePatterns": ["*"],
19+
"excludePackageNames": ["ghcr.io/actions/actions-runner"],
20+
"enabled": false
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)