Skip to content

Commit b227f1d

Browse files
authored
Update workflow triggers (#114)
Updates github workflows to reigger on any pull request and creation of new pull requests.
1 parent 88ab1fe commit b227f1d

File tree

7 files changed

+21
-25
lines changed

7 files changed

+21
-25
lines changed

.github/workflows/build-esp.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
branches: ["main"]
8-
schedule:
9-
# Build on Mondays at 9am PST every week
10-
- cron: '0 17 * * 1'
7+
types: [opened, reopened, synchronize]
8+
repository_dispatch:
9+
types: [create-pull-request]
1110

1211
jobs:
1312
build-esp:

.github/workflows/build-nuttx.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
branches: ["main"]
8-
schedule:
9-
# Build on Mondays at 9am PST every week
10-
- cron: '0 17 * * 1'
7+
types: [opened, reopened, synchronize]
8+
repository_dispatch:
9+
types: [create-pull-request]
1110

1211
jobs:
1312
build-nuttx:

.github/workflows/build-pico-sdk.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
branches: ["main"]
8-
schedule:
9-
# Build on Mondays at 9am PST every week
10-
- cron: '0 17 * * 1'
7+
types: [opened, reopened, synchronize]
8+
repository_dispatch:
9+
types: [create-pull-request]
1110

1211
jobs:
1312
build-pico-sdk:

.github/workflows/build-rpi-baremetal.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
branches: ["main"]
8-
schedule:
9-
# Build on Mondays at 9am PST every week
10-
- cron: '0 17 * * 1'
7+
types: [opened, reopened, synchronize]
8+
repository_dispatch:
9+
types: [create-pull-request]
1110

1211
jobs:
1312
build-rpi-baremetal:

.github/workflows/build-stm.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
branches: ["main"]
8-
schedule:
9-
# Build on Mondays at 9am PST every week
10-
- cron: '0 17 * * 1'
7+
types: [opened, reopened, synchronize]
8+
repository_dispatch:
9+
types: [create-pull-request]
1110

1211
jobs:
1312
build-stm32:

.github/workflows/build-zephyr.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
branches: ["main"]
8-
schedule:
9-
# Build on Mondays at 9am PST every week
10-
- cron: '0 17 * * 1'
7+
types: [opened, reopened, synchronize]
8+
repository_dispatch:
9+
types: [create-pull-request]
1110

1211
jobs:
1312
build-zephyr:

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
branches: ["main"]
7+
types: [opened, reopened, synchronize]
8+
repository_dispatch:
9+
types: [create-pull-request]
810

911
jobs:
1012
validate_format_config:

0 commit comments

Comments
 (0)