File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 5
5
6
6
version : 2
7
7
updates :
8
- - package-ecosystem : " pip" # See documentation for possible values
8
+ # Enable version updates for Python
9
+ - package-ecosystem : " pip"
9
10
directory : " /" # Location of package manifests
11
+ # Check for updates once a week
10
12
schedule :
11
13
interval : " weekly"
14
+ # Use the `dependencies` branch as a target
15
+ target-branch : " dependencies"
16
+
17
+ # Enable version updates for GH Actions
18
+ - package-ecosystem : " github-actions"
19
+ # Look for a `/workflows` in the `root` directory
20
+ directory : " /"
21
+ # Check for updates once a week
22
+ schedule :
23
+ interval : " weekly"
24
+ target-branch : " dependencies"
Original file line number Diff line number Diff line change
1
+ name : Automatic Rebase
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ rebase :
8
+ name : Rebase `dependencies` with `master`
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v3
12
+ with :
13
+ fetch-depth : 0 # otherwise, you will fail to push refs to dest repo
14
+ ref : dependencies
15
+ - run : |
16
+ git config user.name github-actions
17
+ git config user.email github-actions@github.com
18
+ git rebase origin/master
19
+ git push origin dependencies --force-with-lease
You can’t perform that action at this time.
0 commit comments