mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 04:07:15 +00:00
feat: add sync-to-develop
Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
This commit is contained in:
22
.github/workflows/release-nocodb.yml
vendored
22
.github/workflows/release-nocodb.yml
vendored
@@ -11,11 +11,6 @@ on:
|
||||
description: "Previous Tag"
|
||||
required: true
|
||||
jobs:
|
||||
# Build, install, publish frontend and backend to npm
|
||||
release-npm:
|
||||
uses: ./.github/workflows/release-npm.yml
|
||||
with:
|
||||
tag: tag
|
||||
# Close all issues with target tags 'Fixed' & 'Resolved'
|
||||
# TODO: add 'Fixed in vX.Y.Z' comment after closing.
|
||||
close-fixed-issues:
|
||||
@@ -28,16 +23,29 @@ jobs:
|
||||
uses: ./.github/workflows/release-close-issue.yml
|
||||
with:
|
||||
issue_label: 'Resolved'
|
||||
|
||||
# Build, install, publish frontend and backend to npm
|
||||
release-npm:
|
||||
uses: ./.github/workflows/release-npm.yml
|
||||
with:
|
||||
tag: tag
|
||||
|
||||
# Draft Release Note
|
||||
release-draft-note:
|
||||
needs: close-issues
|
||||
users: ./.github/workflows/release-draft.yml
|
||||
uses: ./.github/workflows/release-draft.yml
|
||||
with:
|
||||
tag: tag
|
||||
prev_tag: prev_tag
|
||||
|
||||
# Build docker image and push to docker hub
|
||||
release-docker:
|
||||
needs: release-draft-note
|
||||
users: ./.gitjib/workflows/release-docker.yml
|
||||
uses: ./.github/workflows/release-docker.yml
|
||||
with:
|
||||
tag: tag
|
||||
|
||||
# Sync changes to develop
|
||||
sync-to-develop:
|
||||
needs: release-docker
|
||||
uses: ./.github/workflows/sync-to-develop.yml
|
||||
20
.github/workflows/sync-to-develop.yml
vendored
Normal file
20
.github/workflows/sync-to-develop.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: 'Sync changes back to develop branch'
|
||||
|
||||
on:
|
||||
# Triggered manually
|
||||
workflow_dispatch:
|
||||
# Triggered by release-nocodb.yml
|
||||
workflow_call:
|
||||
jobs:
|
||||
close-issues:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Merge master -> develop
|
||||
uses: devmasx/merge-branch@master
|
||||
with:
|
||||
type: now
|
||||
from_branch: master
|
||||
target_branch: develop
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user