File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ version: 2
33updates :
44 - package-ecosystem : " github-actions"
55 directory : " /"
6- target-branch : " dev"
76 schedule :
87 interval : " weekly"
98 day : " monday"
@@ -19,7 +18,6 @@ updates:
1918
2019 - package-ecosystem : " uv"
2120 directory : " /backend"
22- target-branch : " dev"
2321 schedule :
2422 interval : " weekly"
2523 day : " monday"
@@ -36,7 +34,6 @@ updates:
3634
3735 - package-ecosystem : " npm"
3836 directory : " /"
39- target-branch : " dev"
4037 schedule :
4138 interval : " weekly"
4239 day : " monday"
@@ -70,7 +67,6 @@ updates:
7067
7168 - package-ecosystem : " docker"
7269 directory : " /backend"
73- target-branch : " dev"
7470 schedule :
7571 interval : " weekly"
7672 day : " monday"
@@ -86,7 +82,6 @@ updates:
8682
8783 - package-ecosystem : " docker"
8884 directory : " /frontend"
89- target-branch : " dev"
9085 schedule :
9186 interval : " weekly"
9287 day : " monday"
Original file line number Diff line number Diff line change 1+ name : Enforce PR base branch to dev
2+
3+ on :
4+ pull_request_target :
5+ types : [opened, edited, reopened]
6+
7+ jobs :
8+ check-branch :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ pull-requests : write
12+ contents : read
13+ steps :
14+ - uses : Vankka/pr-target-branch-action@v3
15+ env :
16+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17+ with :
18+ target : main
19+ exclude : dev
20+ change-to : dev
21+ comment : |
22+ PRs in this repository must target `dev`, not `main`.
23+ The base branch has been automatically changed to `dev`. Please verify there are no merge conflicts.
You can’t perform that action at this time.
0 commit comments