mirror of https://github.com/nocodb/nocodb
6 changed files with 149 additions and 112 deletions
@ -0,0 +1,34 @@
|
||||
name: 'Close Issues with Labels' |
||||
|
||||
on: |
||||
# Triggered manually |
||||
workflow_dispatch: |
||||
inputs: |
||||
issue_label: |
||||
description: "All issues with such label will be closed" |
||||
required: true |
||||
version: |
||||
description: "Which version is this issue fixed in" |
||||
required: true |
||||
# Triggered by release-nocodb.yml |
||||
workflow_call: |
||||
inputs: |
||||
issue_label: |
||||
description: "All issues with such label will be closed" |
||||
required: true |
||||
type: string |
||||
version: |
||||
description: "Which version is this issue fixed in" |
||||
required: true |
||||
type: string |
||||
jobs: |
||||
close-issues: |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- uses: actions/checkout@master |
||||
- name: close-resolved-issues |
||||
uses: wingkwong/close-issues-based-on-label@master |
||||
env: |
||||
LABEL: ${{ github.event.inputs.issue_label || inputs.issue_label }} |
||||
VERSION: ${{ github.event.inputs.version || inputs.version }} |
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
@ -0,0 +1,52 @@
|
||||
name: 'NocoDB Release' |
||||
|
||||
on: |
||||
# Triggered manually |
||||
workflow_dispatch: |
||||
inputs: |
||||
tag: |
||||
description: "Target Tag" |
||||
required: true |
||||
prev_tag: |
||||
description: "Previous Tag" |
||||
required: true |
||||
jobs: |
||||
# Close all issues with target tags 'Fixed' & 'Resolved' |
||||
close-fixed-issues: |
||||
needs: release-npm |
||||
uses: ./.github/workflows/release-close-issue.yml |
||||
with: |
||||
issue_label: 'Fixed' |
||||
version: ${{ github.event.inputs.tag }} |
||||
close-resolved-issues: |
||||
needs: close-fixed-issues |
||||
uses: ./.github/workflows/release-close-issue.yml |
||||
with: |
||||
issue_label: 'Resolved' |
||||
version: ${{ github.event.inputs.tag }} |
||||
|
||||
# Build, install, publish frontend and backend to npm |
||||
release-npm: |
||||
uses: ./.github/workflows/release-npm.yml |
||||
with: |
||||
tag: ${{ github.event.inputs.tag }} |
||||
|
||||
# Draft Release Note |
||||
release-draft-note: |
||||
needs: close-issues |
||||
uses: ./.github/workflows/release-draft.yml |
||||
with: |
||||
tag: ${{ github.event.inputs.tag }} |
||||
prev_tag: ${{ github.event.inputs.prev_tag }} |
||||
|
||||
# Build docker image and push to docker hub |
||||
release-docker: |
||||
needs: release-draft-note |
||||
uses: ./.github/workflows/release-docker.yml |
||||
with: |
||||
tag: ${{ github.event.inputs.tag }} |
||||
|
||||
# Sync changes to develop |
||||
sync-to-develop: |
||||
needs: release-docker |
||||
uses: ./.github/workflows/sync-to-develop.yml |
@ -0,0 +1,23 @@
|
||||
name: 'Sync changes back to develop branch from master' |
||||
|
||||
on: |
||||
# Triggered manually |
||||
workflow_dispatch: |
||||
# Triggered by release-nocodb.yml |
||||
workflow_call: |
||||
jobs: |
||||
close-issues: |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- name: Checkout |
||||
uses: actions/checkout@v1 |
||||
|
||||
- name: Merge from master to develop |
||||
uses: robotology/gh-action-nightly-merge@v1.3.1 |
||||
with: |
||||
stable_branch: 'master' |
||||
development_branch: 'develop' |
||||
allow_ff: true |
||||
allow_forks: true |
||||
env: |
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Loading…
Reference in new issue