mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 16:36:56 +00:00
28 lines
663 B
YAML
28 lines
663 B
YAML
name: auto-merge
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
push-commit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: nocobase/nocobase
|
|
ssh-key: ${{ secrets.NOCOBASE_DEPLOY_KEY }}
|
|
persist-credentials: true
|
|
fetch-depth: 0
|
|
- name: Merge main -> next
|
|
uses: devmasx/merge-branch@master
|
|
with:
|
|
type: now
|
|
from_branch: main
|
|
target_branch: ${{ github.head_ref || github.ref_name }}
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|