Turns out it doesn't trigger the build action, so we'd never see pre-commit runs on those merges - we really really don't want that. Manual it is :/
34 lines
830 B
YAML
34 lines
830 B
YAML
name: "Nightly merge"
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
nightly-merge:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: ⬇ Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: 🔀 Merge master into 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 into devel
|
|
# uses: robotology/gh-action-nightly-merge@v1.3.2
|
|
# with:
|
|
# stable_branch: "maintenance"
|
|
# development_branch: "devel"
|
|
# allow_ff: false
|
|
# env:
|
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|