GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — nocodb/.github/workflows/sync-to-develop.yml at develop · viknith/nocodb

Expand file tree

/

sync-to-develop.yml

Copy path
View runs
More file actions
More file actions

Latest commit

 

History

History
History
52 lines (51 loc) · 2.09 KB
/

sync-to-develop.yml

Copy path

File metadata and controls

52 lines (51 loc) · 2.09 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: "Sync changes back to develop branch from master"
on:
# Triggered manually
workflow_dispatch:
# Triggered by release-nocodb.yml
workflow_call:
jobs:
sync-to-develop:
runs-on: ubuntu-22.04
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 22.12.0
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: nocodb
- name: Prepare GH Cli
id: gh
run: |
wget https://github.com/cli/cli/releases/download/v2.33.0/gh_2.33.0_linux_amd64.tar.gz
tar -xvf gh_2.33.0_linux_amd64.tar.gz
GH=gh_2.33.0_linux_amd64/bin/gh
echo "GH=${GH}" >> $GITHUB_OUTPUT
- name: Sync Master to Develop
id: sync
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd nocodb
git fetch --quiet --unshallow origin
git checkout master
# reset to origin/master
git reset --hard origin/master
: # Use the first 8 characters of the latest commit hash as the branch name
BRANCH_NAME=nc/$(git rev-list -n 1 HEAD | cut -c1-8)
git checkout -b $BRANCH_NAME
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
revertSDK=true node scripts/upgradeNocodbSdk.js
pnpm --filter=nocodb-sdk install --no-frozen-lockfile && pnpm --filter=nocodb-sdk run build && pnpm --filter=nocodb --filter=nc-gui --filter=playwright install --no-frozen-lockfile
git add .
git diff-index --quiet HEAD || git commit -m "chore: update sdk path"
git push origin $BRANCH_NAME
../${{ steps.gh.outputs.GH }} pr create --title "chore: post-release sync" --body "$(echo -e "This is an automated pull request to sync the master branch to develop.\nPlease review and merge this pull request if it looks good.")" --base develop --head $BRANCH_NAME
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.