From 5d6a27b7515f056e255d19ad716fd401dda92d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 17 Feb 2021 14:36:00 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Add=20a=20nightly=20merge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Should keep `maintenance` and `devel` up to date. --- .github/workflows/nightly_merge.yml | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/nightly_merge.yml diff --git a/.github/workflows/nightly_merge.yml b/.github/workflows/nightly_merge.yml new file mode 100644 index 000000000..520a42e3e --- /dev/null +++ b/.github/workflows/nightly_merge.yml @@ -0,0 +1,31 @@ +name: "Nightly merge" + +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + nightly-merge: + runs-on: ubuntu-latest + steps: + - name: ⬇ Checkout + uses: actions/checkout@v2 + + - name: 🔀 Merge master on maintenance + uses: robotology/gh-action-nightly-merge@v1.3.2 + with: + stable_branch: "master" + development_branch: "maintenance" + allow_ff: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: 🔀 Merge maintenance on devel + uses: robotology/gh-action-nightly-merge@v1.3.2 + with: + stable_branch: "master" + development_branch: "maintenance" + allow_ff: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 1637631ef72eea7f2d903ac4d4ad062d6ed7827f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 17 Feb 2021 14:41:11 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20Make=20sure=20to=20fetch=20a?= =?UTF-8?q?ll=20history?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/nightly_merge.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nightly_merge.yml b/.github/workflows/nightly_merge.yml index 520a42e3e..f9ddcb7a7 100644 --- a/.github/workflows/nightly_merge.yml +++ b/.github/workflows/nightly_merge.yml @@ -11,6 +11,8 @@ jobs: steps: - name: ⬇ Checkout uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: 🔀 Merge master on maintenance uses: robotology/gh-action-nightly-merge@v1.3.2