From e91df8005fd01ea4b21b438a25747d4cd9a0392a Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sat, 3 Feb 2024 19:40:47 +0300 Subject: [PATCH] Create rebase_dependencies.yml --- .github/workflows/rebase_dependencies.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/rebase_dependencies.yml diff --git a/.github/workflows/rebase_dependencies.yml b/.github/workflows/rebase_dependencies.yml new file mode 100644 index 0000000..212f253 --- /dev/null +++ b/.github/workflows/rebase_dependencies.yml @@ -0,0 +1,19 @@ +name: Automatic Rebase +on: + push: + branches: + - main +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