git.delta.rocks / unique-network / refs/commits / d16d7f8bc42e

difftreelog

push ready polkadot-types workflow

Unique2022-12-22parent: #d50b1a1.patch.diff
in: master

3 files changed

modified.github/workflows/polkadot-types.ymldiffbeforeafterboth
--- a/.github/workflows/polkadot-types.yml
+++ b/.github/workflows/polkadot-types.yml
@@ -3,15 +3,15 @@
 name: Polkadot types
 
 # Triger: only call from main workflow(re-usable workflows)
+on:
+  workflow_call:
+  # Allows you to run this workflow manually from the Actions tab
+  workflow_dispatch:
+
 # on:
-#   workflow_call:
-#   # Allows you to run this workflow manually from the Actions tab
-#   workflow_dispatch:
-
-on:
-  pull_request:
-    branches: [ 'develop' ]
-    types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]
+#   pull_request:
+#     branches: [ 'develop' ]
+#     types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]
 
 
 # A workflow run is made up of one or more jobs that can run sequentially or in parallel
@@ -29,12 +29,12 @@
     strategy:
       matrix:
         include:
-          # - network: sapphire
-          #   usage: "--sapphire"
-          # - network: "opal"
-          #   usage: ""
-          # - network: "quartz"
-          #   usage: ""
+          - network: sapphire
+            usage: "--sapphire"
+          - network: "opal"
+            usage: ""
+          - network: "quartz"
+            usage: ""
           - network: "unique"
             usage: ""
 
modified.github/workflows/schedule-trigger-for-develop-build.ymldiffbeforeafterboth
before · .github/workflows/schedule-trigger-for-develop-build.yml
1name: schedule-trigger-for-develop-build2on:3  # update the branch ci/develop-scheduler every night4  schedule:5    - cron: '0 1 * * *'6  # or update the branch manually7  workflow_dispatch:8  # pull_request:9  #   branches: [ 'develop' ]10  #   types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]1112jobs:13  update:14    runs-on: medium15    steps:16      - name: Clean Workspace17        uses: AutoModality/action-clean@v1.1.018      - name: Checkout 🛎19        uses: actions/checkout@v3.1.020        with:21          # check out all branches22          fetch-depth: 023          # token: ${{ secrets.GH_PAT }}24      - name: Update Git branch ci/develop-scheduler25        run: |26          git config user.name "Unique"27          git config user.email github-actions@usetech.com28          git checkout ci/develop-scheduler29          echo $(date) > .github/scheduler30          git commit -a -m "commit timestamp for scheduler on $(date)"31          git merge origin/develop --no-edit -m "Merged develop branch on $(date +%F)"32      - name: Push the updated branch X33        run: |34          git push origin ci/develop-scheduler35      - name: Clean Workspace36        if: always()37        uses: AutoModality/action-clean@v1.1.0
after · .github/workflows/schedule-trigger-for-develop-build.yml
1name: schedule-trigger-for-develop-build2on:3  # update the branch ci/develop-scheduler every night4  # schedule:5  #   - cron: '0 1 * * *'6  # or update the branch manually7  workflow_dispatch:8  # pull_request:9  #   branches: [ 'develop' ]10  #   types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]1112jobs:13  update:14    runs-on: medium15    steps:16      - name: Clean Workspace17        uses: AutoModality/action-clean@v1.1.018      - name: Checkout 🛎19        uses: actions/checkout@v3.1.020        with:21          # check out all branches22          fetch-depth: 023          # token: ${{ secrets.GH_PAT }}24      - name: Update Git branch ci/develop-scheduler25        run: |26          git config user.name "Unique"27          git config user.email github-actions@usetech.com28          git checkout ci/develop-scheduler29          echo $(date) > .github/scheduler30          git commit -a -m "commit timestamp for scheduler on $(date)"31          git merge origin/develop --no-edit -m "Merged develop branch on $(date +%F)"32      - name: Push the updated branch X33        run: |34          git push origin ci/develop-scheduler35      - name: Clean Workspace36        if: always()37        uses: AutoModality/action-clean@v1.1.0
modifiedtests/scripts/generate_types_package.shdiffbeforeafterboth
--- a/tests/scripts/generate_types_package.sh
+++ b/tests/scripts/generate_types_package.sh
@@ -6,9 +6,6 @@
 TEMPLATE=$DIR/types_template
 GIT_REPO=git@github.com:UniqueNetwork/unique-types-js.git
 
-# git config user.name "Unique"
-# git config user.email "github-actions@usetech.com"
-
 . $DIR/functions.sh
 
 usage() {