From 7f52f70709bc12cf041b3b1fd4a49bc0d52c889a Mon Sep 17 00:00:00 2001 From: Advait Jain Date: Sat, 25 May 2024 16:57:28 -0700 Subject: [PATCH] remove trailing comment. (#16) Prior to this change, we get the following error: ``` Invalid workflow file: .github/workflows/nightly_pip_test.yml#L19 The workflow is not valid. .github/workflows/nightly_pip_test.yml (Line: 19, Col: 9): Unexpected symbol: '#'. Located at position 134 within expression: github.event_name == 'workflow_dispatch' || (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') # don't run in forks. ``` --- .github/workflows/mark_stale.yml | 2 +- .github/workflows/nightly_generative_api.yml | 2 +- .github/workflows/nightly_model_coverage.yml | 2 +- .github/workflows/nightly_pip_test.yml | 2 +- .github/workflows/nightly_unittests.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mark_stale.yml b/.github/workflows/mark_stale.yml index 7802cf22..a8616581 100644 --- a/.github/workflows/mark_stale.yml +++ b/.github/workflows/mark_stale.yml @@ -14,7 +14,7 @@ jobs: stale: if: | github.event_name == 'workflow_dispatch' || - (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') # don't run in forks. + (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/nightly_generative_api.yml b/.github/workflows/nightly_generative_api.yml index bbab3835..9d048746 100644 --- a/.github/workflows/nightly_generative_api.yml +++ b/.github/workflows/nightly_generative_api.yml @@ -14,7 +14,7 @@ jobs: run-generative-api-examples: if: | github.event_name == 'workflow_dispatch' || - (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') # don't run in forks. + (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') name: Generative API Examples uses: ./.github/workflows/generative_api_examples.yml diff --git a/.github/workflows/nightly_model_coverage.yml b/.github/workflows/nightly_model_coverage.yml index f1bfe4a0..0be16df2 100644 --- a/.github/workflows/nightly_model_coverage.yml +++ b/.github/workflows/nightly_model_coverage.yml @@ -14,7 +14,7 @@ jobs: run-model-coverage: if: | github.event_name == 'workflow_dispatch' || - (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') # don't run in forks. + (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') name: Model Coverage (nightly) uses: ./.github/workflows/model_coverage.yml diff --git a/.github/workflows/nightly_pip_test.yml b/.github/workflows/nightly_pip_test.yml index a8cbc638..f7e292e4 100644 --- a/.github/workflows/nightly_pip_test.yml +++ b/.github/workflows/nightly_pip_test.yml @@ -18,7 +18,7 @@ jobs: if: | github.event_name == 'workflow_dispatch' || - (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') # don't run in forks. + (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') runs-on: ubuntu-latest steps: diff --git a/.github/workflows/nightly_unittests.yml b/.github/workflows/nightly_unittests.yml index 020b98a0..bf9907d7 100644 --- a/.github/workflows/nightly_unittests.yml +++ b/.github/workflows/nightly_unittests.yml @@ -14,7 +14,7 @@ jobs: run-unittests-python: if: | github.event_name == 'workflow_dispatch' || - (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') # don't run in forks. + (github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') name: Unit Tests Python uses: ./.github/workflows/unittests_python.yml