--- 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: "" --- a/.github/workflows/schedule-trigger-for-develop-build.yml +++ b/.github/workflows/schedule-trigger-for-develop-build.yml @@ -1,8 +1,8 @@ name: schedule-trigger-for-develop-build on: # update the branch ci/develop-scheduler every night - schedule: - - cron: '0 1 * * *' + # schedule: + # - cron: '0 1 * * *' # or update the branch manually workflow_dispatch: # pull_request: --- 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() {