Skip to content

Commit

Permalink
hello 1
Browse files Browse the repository at this point in the history
hello 2
hello 3

hello 4
  • Loading branch information
ydshieh committed Apr 29, 2024
1 parent 4256588 commit 102b99e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/self-new-model-pr-caller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-22.04
name: Check specified models to test 3
needs: find_models_to_run
if: contains(fromJson(needs.find_models_to_run.outputs.models), 'dummy') != true
if: ${{ needs.find_models_to_run.outputs.models) != '[]' }}
steps:
- name: Check if there are specified models
run: |
Expand Down
5 changes: 2 additions & 3 deletions utils/check_if_new_model_added.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,13 @@ def get_new_model():


def get_models_from_commit_message(commit_message):
return ["models/bert", "models/gpt2"]
return []
# return ["models/bert", "models/gpt2"]


if __name__ == "__main__":

new_model = get_new_model()
specified_models = get_models_from_commit_message("")
models = ([] if new_model == "" else [new_model]) + specified_models
if len(models) == 0:
models = ["dummy"]
print(models)

0 comments on commit 102b99e

Please sign in to comment.