Browse Source

Merge pull request #367 from AaryaZ/common

Generate common files across taipy repos
Đỗ Trường Giang 1 năm trước cách đây
mục cha
commit
db2f7f538f
2 tập tin đã thay đổi với 37 bổ sung0 xóa
  1. 20 0
      .github/sync.yml
  2. 17 0
      .github/workflows/sync.yml

+ 20 - 0
.github/sync.yml

@@ -0,0 +1,20 @@
+group:
+  repos: |
+    Avaiga/taipy-config
+    Avaiga/taipy-core
+    Avaiga/taipy-gui
+    Avaiga/taipy-rest
+    
+  files: 
+    - .flake8
+    - .gitattributes
+    - .license-header
+    - CODE_OF_CONDUCT.md
+    - CONTRIBUTING.md
+    - LICENSE
+    - mypy.ini
+    - pyproject.toml
+    - src/taipy/__init__.py
+    # - .isort.cfg
+    # - src/__init__.py
+    

+ 17 - 0
.github/workflows/sync.yml

@@ -0,0 +1,17 @@
+name: Sync Files
+on:
+  push:
+    branches:
+      - develop
+  workflow_dispatch:
+jobs:
+  sync:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout Repository
+        uses: actions/checkout@develop
+      - name: Run GitHub File Sync
+        uses: BetaHuhn/repo-file-sync-action@v1
+        with:
+          GH_PAT: ${{ secrets.GH_PAT }}
+