From 91f91c94187840fd9bfba88c4cd0982f226a6b42 Mon Sep 17 00:00:00 2001 From: Mathieu Kardous <84793247+mkardous-silabs@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:09:01 -0500 Subject: [PATCH] Update actions to run when a PR is modified or merged into main (#2) --- .github/workflows/eslint-check.yml | 6 +++++- .github/workflows/unit-tests.yml | 6 +++++- .github/workflows/validate-action.yml | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/eslint-check.yml b/.github/workflows/eslint-check.yml index c504709..7b28f35 100644 --- a/.github/workflows/eslint-check.yml +++ b/.github/workflows/eslint-check.yml @@ -1,6 +1,10 @@ name: ESLint Check -on: [pull_request] +on: + pull_request: + push: + branches: + - main jobs: eslint: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index e52b73f..3c4034e 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,6 +1,10 @@ name: Run unit tests -on: [pull_request] +on: + pull_request: + push: + branches: + - main jobs: build: diff --git a/.github/workflows/validate-action.yml b/.github/workflows/validate-action.yml index c4c18b6..7d1ec8e 100644 --- a/.github/workflows/validate-action.yml +++ b/.github/workflows/validate-action.yml @@ -1,5 +1,9 @@ name: "Validate Action" -on: [pull_request] +on: + pull_request: + push: + branches: + - main jobs: validate: runs-on: ubuntu-latest