--- a/.github/workflows/polkadot-types.yml +++ b/.github/workflows/polkadot-types.yml @@ -3,10 +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: + 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