Skip to content

Commit

Permalink
added dependabot config, and workflow to rebase dependencies branch o…
Browse files Browse the repository at this point in the history
…nto which dependabot will open PRs (#136)
  • Loading branch information
rosesyrett committed Nov 29, 2022
1 parent 91f2bb6 commit 41d8d68
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ updates:
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 100
open-pull-requests-limit: 100
target-branch: "dependencies"
19 changes: 19 additions & 0 deletions .github/workflows/rebase-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Automatic Rebase
on:
push:
branches:
- master
jobs:
rebase:
name: Rebase `dependencies` with `master`
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
ref: dependencies
- run: |
git config user.name github-actions
git config user.email github-actions@github.com
git rebase origin/master
git push origin dependencies --force

0 comments on commit 41d8d68

Please sign in to comment.