From 51ac686f9b95b43e766a0ee39caa56827c94bdef Mon Sep 17 00:00:00 2001 From: Rauhul Varma Date: Fri, 2 May 2025 12:21:49 -0700 Subject: [PATCH] Update workflow triggers Updates github workflows to reigger on any pull request and creation of new pull requests. --- .github/workflows/build-esp.yml | 7 +++---- .github/workflows/build-nuttx.yml | 7 +++---- .github/workflows/build-pico-sdk.yml | 7 +++---- .github/workflows/build-rpi-baremetal.yml | 7 +++---- .github/workflows/build-stm.yml | 7 +++---- .github/workflows/build-zephyr.yml | 7 +++---- .github/workflows/lint.yml | 4 +++- 7 files changed, 21 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build-esp.yml b/.github/workflows/build-esp.yml index 9ac4de81..06fa1ebe 100644 --- a/.github/workflows/build-esp.yml +++ b/.github/workflows/build-esp.yml @@ -4,10 +4,9 @@ on: push: branches: ["main"] pull_request: - branches: ["main"] - schedule: - # Build on Mondays at 9am PST every week - - cron: '0 17 * * 1' + types: [opened, reopened, synchronize] + repository_dispatch: + types: [create-pull-request] jobs: build-esp: diff --git a/.github/workflows/build-nuttx.yml b/.github/workflows/build-nuttx.yml index 5fe2cc97..b70a1ba2 100644 --- a/.github/workflows/build-nuttx.yml +++ b/.github/workflows/build-nuttx.yml @@ -4,10 +4,9 @@ on: push: branches: ["main"] pull_request: - branches: ["main"] - schedule: - # Build on Mondays at 9am PST every week - - cron: '0 17 * * 1' + types: [opened, reopened, synchronize] + repository_dispatch: + types: [create-pull-request] jobs: build-nuttx: diff --git a/.github/workflows/build-pico-sdk.yml b/.github/workflows/build-pico-sdk.yml index 341566cd..80d4955f 100644 --- a/.github/workflows/build-pico-sdk.yml +++ b/.github/workflows/build-pico-sdk.yml @@ -4,10 +4,9 @@ on: push: branches: ["main"] pull_request: - branches: ["main"] - schedule: - # Build on Mondays at 9am PST every week - - cron: '0 17 * * 1' + types: [opened, reopened, synchronize] + repository_dispatch: + types: [create-pull-request] jobs: build-pico-sdk: diff --git a/.github/workflows/build-rpi-baremetal.yml b/.github/workflows/build-rpi-baremetal.yml index 48484282..6b8cf935 100644 --- a/.github/workflows/build-rpi-baremetal.yml +++ b/.github/workflows/build-rpi-baremetal.yml @@ -4,10 +4,9 @@ on: push: branches: ["main"] pull_request: - branches: ["main"] - schedule: - # Build on Mondays at 9am PST every week - - cron: '0 17 * * 1' + types: [opened, reopened, synchronize] + repository_dispatch: + types: [create-pull-request] jobs: build-rpi-baremetal: diff --git a/.github/workflows/build-stm.yml b/.github/workflows/build-stm.yml index 3c77217a..5723b9a2 100644 --- a/.github/workflows/build-stm.yml +++ b/.github/workflows/build-stm.yml @@ -4,10 +4,9 @@ on: push: branches: ["main"] pull_request: - branches: ["main"] - schedule: - # Build on Mondays at 9am PST every week - - cron: '0 17 * * 1' + types: [opened, reopened, synchronize] + repository_dispatch: + types: [create-pull-request] jobs: build-stm32: diff --git a/.github/workflows/build-zephyr.yml b/.github/workflows/build-zephyr.yml index d2a96f2a..6344ec58 100644 --- a/.github/workflows/build-zephyr.yml +++ b/.github/workflows/build-zephyr.yml @@ -4,10 +4,9 @@ on: push: branches: ["main"] pull_request: - branches: ["main"] - schedule: - # Build on Mondays at 9am PST every week - - cron: '0 17 * * 1' + types: [opened, reopened, synchronize] + repository_dispatch: + types: [create-pull-request] jobs: build-zephyr: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 33b86f83..0687bc71 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,9 @@ on: push: branches: ["main"] pull_request: - branches: ["main"] + types: [opened, reopened, synchronize] + repository_dispatch: + types: [create-pull-request] jobs: validate_format_config: