diff --git a/.github/workflows/generate_other_formats.yaml b/.github/workflows/generate_other_formats.yaml index 4b77a8e9a..3745f5e66 100644 --- a/.github/workflows/generate_other_formats.yaml +++ b/.github/workflows/generate_other_formats.yaml @@ -35,7 +35,7 @@ jobs: # generating jsonld context and removing generation_date field to avoid constant updates gen-jsonld-context ${file} > ../jsonld-context-autogen/${name}.context.jsonld; sed -i "/generation_date/d" ../jsonld-context-autogen/${name}.context.jsonld; - gen-pydantic ${file} --pydantic_version 2 > ../models_py-autogen/${name}.py; + gen-pydantic ${file} > ../models_py-autogen/${name}.py; if [ ${name} = "kbmodel" ]; then echo "Creating and Fixing kbmodel diagram.."; python ../utils/create_fix_kbmodel_diagram.py diff --git a/.github/workflows/push_to_bkbit.yaml b/.github/workflows/push_to_bkbit.yaml deleted file mode 100644 index 184b3ece7..000000000 --- a/.github/workflows/push_to_bkbit.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: push to bkbit -on: - # push: - # branches: [ notebook_additions ] - workflow_run: - workflows: [generating other formats] - types: [completed] - branches: [notebook_additions] - - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout this repository - uses: actions/checkout@v3 - - - name: Pushes to another repository - uses: dmnemec/copy_file_to_another_repo_action@main - - env: - API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} - with: - source_file: 'models_py-autogen/kbmodel.py' - destination_repo: 'puja-trivedi/bkbit' - destination_folder: 'bkbit/models/' - user_email: 'xspuja@gmail.com' - user_name: 'puja-trivedi' - commit_message: "Updated kbmodel.py pushed from brain-bican/model repository" diff --git a/.github/workflows/tests_lint.yaml b/.github/workflows/tests_lint.yaml index 01b65aeb6..01dd5ca1d 100644 --- a/.github/workflows/tests_lint.yaml +++ b/.github/workflows/tests_lint.yaml @@ -2,8 +2,8 @@ name: testing schemas with linkml-lint on: push: - # branches: - # - main + branches: + - main pull_request: diff --git a/.github/workflows/tests_models.yaml b/.github/workflows/tests_models.yaml index 5524a0cb4..e06908125 100644 --- a/.github/workflows/tests_models.yaml +++ b/.github/workflows/tests_models.yaml @@ -2,8 +2,8 @@ name: testing schemas with python api on: push: - # branches: - # - main + branches: + - main pull_request: