Skip to content

Commit

Permalink
remove trailing comment. (#16)
Browse files Browse the repository at this point in the history
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.
```
  • Loading branch information
advaitjain authored May 25, 2024
1 parent 329c576 commit 7f52f70
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mark_stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly_generative_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly_model_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly_pip_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly_unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f52f70

Please sign in to comment.