mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:45:18 +00:00
chore: auto merge
This commit is contained in:
parent
9c7fcb013f
commit
d4d89097e5
27
.github/workflows/auto-merge.yml
vendored
Normal file
27
.github/workflows/auto-merge.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
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 }}
|
Loading…
Reference in New Issue
Block a user