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

chore(build): Use pull request triggers #9771

Merged
merged 3 commits into from
Mar 24, 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
10 changes: 9 additions & 1 deletion .github/workflows/api-test-lint-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
- 'shared-data/**/*'
- '!shared-data/js/**'
- 'hardware/**/*'
- '.github/workflows/api-test-lint-deploy.yaml'
- '.github/actions/python/**/*'
- '.github/workflows/utils.js'
push:
paths:
- 'api/**'
Expand All @@ -23,11 +26,14 @@ on:
- '.github/actions/python/**/*'
- '.github/workflows/utils.js'
branches:
- '*'
- 'edge'
- 'release'
- '*hotfix*'
tags:
- 'v*'
workflow_dispatch:


defaults:
run:
shell: bash
Expand Down Expand Up @@ -67,6 +73,8 @@ jobs:
with-ot-hardware: 'true'
- os: 'macos-latest'
with-ot-hardware: 'true'
- os: 'macos-latest'
python: '3.10'
- python: '3.10'
with-ot-hardware: 'true'
runs-on: '${{ matrix.os }}'
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/hardware-lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ on:
- 'hardware/**'
- '.github/workflows/hardware-lint-test.yaml'
- '.github/actions/python/**'
branches-ignore: # ignore any release-related thing (handled elsewhere)
branches:
- 'edge'
- 'release'
- 'chore_release-**'
tags-ignore:
- '*'
pull_request:
paths:
- 'Makefile'
- 'hardware/**'
- '.github/workflows/hardware-lint-test.yaml'
- '.github/actions/python/**'

workflow_dispatch:

defaults:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/notify-server-lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
- 'api/**/*'
- 'hardware/**/*'
- '.github/actions/python/**/*'
branches:
- 'edge'
- 'release'
- '*hotfix*'
tags-ignore:
- '*'
pull_request:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/robot-server-lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ on:
- 'notify-server/**/*'
- '.github/workflows/robot-server-test-lint.yaml'
- '.github/actions/python/**'
branches-ignore: # ignore any release-related thing (handled elsewhere)
branches:
- 'edge'
- 'release'
- 'chore_release-**'
- '*hotfix*'
tags-ignore:
- '*'
pull_request:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/shared-data-test-lint-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ on:
- '.github/actions/python/**/*'
- '.github/workflows/utils.js'
branches:
- '*'
- 'edge'
- 'release'
- '*hotfix*'
tags:
- 'v*'
pull_request:
paths:
- 'Makefile'
- 'shared-data/*/**'
- '.github/workflows/shared-data-test-lint-deploy.yaml'
- '.github/actions/python/**/*'
- '.github/workflows/utils.js'
workflow_dispatch:

defaults:
Expand Down Expand Up @@ -55,6 +60,9 @@ jobs:
# TODO(mc, 2022-02-24): expand this matrix to 3.8 and 3.9,
# preferably in a nightly cronjob on edge or something
python: ['3.7', '3.10']
exclude:
- os: 'macos-latest'
python: '3.10'
runs-on: '${{ matrix.os }}'
steps:
- uses: 'actions/checkout@v2'
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/update-server-lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@ on:
- 'Makefile'
- '.github/workflows/update-server-lint-test.yaml'
- '.github/actions/python/**'
branches-ignore: # ignore any release-related thing (handled elsewhere)
- 'release'
- 'chore_release-*'
branches: # ignore any release-related thing (handled elsewhere)
DerekMaggio marked this conversation as resolved.
Show resolved Hide resolved
- 'edge'
tags-ignore:
- '*'
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
paths:
- 'update-server/**/*'
- 'Makefile'
- '.github/workflows/update-server-lint-test.yaml'
- '.github/actions/python/**'
branches-ignore: # ignore any release-related thing (handled elsewhere)
- 'release'
- 'chore_release-*'
workflow_dispatch:

defaults:
Expand Down