Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix syntax error in workflow_dispatch #2689

Merged
merged 1 commit into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/aggregate-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
- '.github/workflows/aggregate-ci.yml'
- 'data-serving/scripts/aggregate/aggregate/**'
workflow_dispatch:
paths:
- '.github/workflows/aggregate-ci.yml'
- 'data-serving/scripts/aggregate/aggregate/**'

jobs:
ci:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/aggregate-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ on:
- 'data-serving/scripts/aggregate/**'
- '!data-serving/scripts/aggregate/README.md'
workflow_dispatch:
branches: [main]
paths:
- '.github/workflows/aggregate-deploy.yml'
- 'data-serving/scripts/aggregate/**'
- '!data-serving/scripts/aggregate/README.md'

jobs:
deploy:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/api-python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
- '.github/workflows/api-python-tests.yml'
- 'api/python/**'
workflow_dispatch:
paths:
- '.github/workflows/api-python-tests.yml'
- 'api/python/**'

jobs:
tests:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/curator-api-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
- ".github/workflows/curator-api-node.yml"
- "verification/curator-service/api/**"
workflow_dispatch:
branches: [main, '*-stable']
paths:
- ".github/workflows/curator-api-node.yml"
- "verification/curator-service/api/**"
pull_request:
paths:
- ".github/workflows/curator-api-node.yml"
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/curator-service-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ on:
tags:
- "*"
workflow_dispatch:
branches: [main, '*-stable']
paths:
- ".github/workflows/curator-service-package.yml"
- "verification/curator-service/**"
- "!verification/curator-service/auth.md"
pull_request:
paths:
- ".github/workflows/curator-service-package.yml"
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/curator-ui-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
- ".github/workflows/curator-ui-node.yml"
- "verification/curator-service/ui/**"
workflow_dispatch:
branches: [main, '*-stable']
paths:
- ".github/workflows/curator-ui-node.yml"
- "verification/curator-service/ui/**"
pull_request:
paths:
- ".github/workflows/curator-ui-node.yml"
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/data-service-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
- ".github/workflows/data-service-node.yml"
- "data-serving/data-service/**"
workflow_dispatch:
branches: [main, '*-stable']
paths:
- ".github/workflows/data-service-node.yml"
- "data-serving/data-service/**"
pull_request:
paths:
- ".github/workflows/data-service-node.yml"
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/data-service-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ on:
tags:
- "*"
workflow_dispatch:
branches: [main, '*-stable']
paths:
- ".github/workflows/data-service-package.yml"
- "data-serving/data-service/**"
pull_request:
paths:
- ".github/workflows/data-service-package.yml"
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/export-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ on:
- 'data-serving/scripts/export-data/**'
- '!data-serving/scripts/export-data/README.md'
workflow_dispatch:
branches: ['*-stable']
paths:
- '.github/workflows/export-deploy.yml'
- 'data-serving/scripts/export-data/**'
- '!data-serving/scripts/export-data/README.md'

jobs:
deploy:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/export-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ on:
- 'data-serving/scripts/export-data/*.py'
- 'data-serving/scripts/export-data/*.sh'
workflow_dispatch:
paths:
- '.github/workflows/export-tests.yml'
- 'data-serving/scripts/export-data/*.py'
- 'data-serving/scripts/export-data/*.sh'

jobs:
ci:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/geocoding-service-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ on:
tags:
- "*"
workflow_dispatch:
branches: [main, '*-stable']
paths:
- ".github/workflows/geocoding-service-package.yml"
- "geocoding/location-service/**"
pull_request:
paths:
- ".github/workflows/geocoding-service-package.yml"
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/geocoding-service-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
- '.github/workflows/geocoding-service-python.yml'
- 'geocoding/location-service/**'
workflow_dispatch:
paths:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete just this block and leave the above config intact?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo! thanks

- '.github/workflows/geocoding-service-python.yml'
- 'geocoding/location-service/**'

jobs:
ci:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/ingestion-cleanup-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ on:
tags:
- "*"
workflow_dispatch:
branches: [main, '*-stable']
paths:
- '.github/workflows/ingestion-cleanup-deploy.yml'
- 'ingestion/functions/**'
- '!ingestion/functions/README.md'
- '!ingestion/functions/parsing/**'
- '!ingestion/functions/retrieval/**'

jobs:
deploy:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/ingestion-functions-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ on:
tags:
- "*"
workflow_dispatch:
branches: [main, '*-stable']
paths:
- '.github/workflows/ingestion-functions-deploy.yml'
- 'ingestion/functions/**'
- '!ingestion/functions/README.md'

jobs:
deploy:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ingestion-functions-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ on:
- 'ingestion/functions/**'
- '!ingestion/functions/README.md'
workflow_dispatch:
paths:
- '.github/workflows/ingestion-functions-python.yml'
- 'ingestion/functions/**'
- '!ingestion/functions/README.md'

jobs:
ci:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ on:
- "data-serving/data-service/**"
- "data-serving/samples/**"
workflow_dispatch:
paths:
- ".github/workflows/integration-tests.yml"
- "dev/docker-compose.yml"
- "verification/curator-service/**"
- "data-serving/data-service/**"
- "data-serving/samples/**"

jobs:
integration-tests:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/monitoring-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
- '.github/workflows/monitoring-tests.yml'
- 'ingestion/monitoring/**'
workflow_dispatch:
paths:
- '.github/workflows/monitoring-tests.yml'
- 'ingestion/monitoring/**'

jobs:
monitoring-tests:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/prune-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ on:
- 'data-serving/scripts/prune-uploads/**'
- '!data-serving/scripts/prune-uploads/README.md'
workflow_dispatch:
branches: [main]
paths:
- '.github/workflows/prune-deploy.yml'
- 'data-serving/scripts/prune-uploads/**'
- '!data-serving/scripts/prune-uploads/README.md'

jobs:
deploy:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/prune-uploads-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ on:
- 'data-serving/scripts/prune-uploads/**'
- '!data-serving/scripts/prune-uploads/README.md'
workflow_dispatch:
paths:
- '.github/workflows/prune-uploads-tests.yml'
- 'data-serving/scripts/prune-uploads/**'
- '!data-serving/scripts/prune-uploads/README.md'

jobs:
tests:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/suggest-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:
- '.github/workflows/suggest-python.yml'
- 'suggest/acronyms/**'
workflow_dispatch:
paths:
- '.github/workflows/suggest-python.yml'
- 'suggest/acronyms/**'

jobs:
ci:
Expand All @@ -34,4 +31,4 @@ jobs:
- name: Test with pytest
run: |
pip install pytest
pytest
pytest
5 changes: 0 additions & 5 deletions .github/workflows/update-dev-curator-db-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ on:
- "data-serving/scripts/setup-db/migrations/**"
- ".github/workflows/update-dev-curator-db-schema.yaml"
workflow_dispatch:
# Run workflow when the schema changes.
branches: [main]
paths:
- "data-serving/scripts/setup-db/migrations/**"
- ".github/workflows/update-dev-curator-db-schema.yaml"

jobs:
update-sources-data-dev:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/update-prod-curator-db-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ on:
- "data-serving/scripts/setup-db/migrations/**"
- ".github/workflows/update-prod-curator-db-schema.yaml"
workflow_dispatch:
# Run workflow when the schema changes. The branch name should always reflect the current release!
branches: [1.11-stable]
paths:
- "data-serving/scripts/setup-db/migrations/**"
- ".github/workflows/update-prod-curator-db-schema.yaml"

jobs:
update-sources-data:
Expand Down