push pydantic genome_annotation to bkbit #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: push pydantic genome_annotation to bkbit | |
on: | |
push: | |
paths: 'models_py-autogen/genome_annotation.py' | |
workflow_run: | |
workflows: [generating other formats] | |
types: | |
- completed | |
jobs: | |
update_genome_annotation: | |
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/genome_annotation.py' | |
destination_repo: 'brain-bican/bkbit' | |
destination_folder: 'bkbit/models/' | |
user_email: '[email protected]' # the GitHub user email associated with the API token secret. | |
user_name: 'puja-trivedi' # the GitHub username associated with the API token secret. | |
commit_message: "pydantic version of genome_annotation model (genome_annotation.py) was updated. Pushed from brain-bican/model repository" |