From 2be159461845d47046a3d482573a4df2d89504c2 Mon Sep 17 00:00:00 2001 From: Mathieu Kardous Date: Thu, 12 Dec 2024 18:02:01 -0500 Subject: [PATCH] update action to run when a PR is modified or merged into master --- .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