From 629ae0bf7233e6f1d76c3425210686dd59b49d54 Mon Sep 17 00:00:00 2001 From: Francis Vauterin <159532420+francisvaut@users.noreply.github.com> Date: Tue, 9 Apr 2024 21:49:35 +0200 Subject: [PATCH] Actions (#277) * build: only run checks when making a pr to dev or main * build: add dispatch trigger to deployement --- .github/workflows/backend-linting.yaml | 2 -- .github/workflows/deployement.yml | 1 + .github/workflows/frontend-linting.yaml | 2 -- .github/workflows/tests.yaml | 2 -- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/backend-linting.yaml b/.github/workflows/backend-linting.yaml index f46741db..773c7f36 100644 --- a/.github/workflows/backend-linting.yaml +++ b/.github/workflows/backend-linting.yaml @@ -1,8 +1,6 @@ name: backend-linting on: - push: - branches: [main, development] pull_request: branches: [main, development] workflow_dispatch: diff --git a/.github/workflows/deployement.yml b/.github/workflows/deployement.yml index 2f227dd2..b58e7852 100644 --- a/.github/workflows/deployement.yml +++ b/.github/workflows/deployement.yml @@ -3,6 +3,7 @@ on: push: branches: - main + workflow_dispatch: jobs: deploy: diff --git a/.github/workflows/frontend-linting.yaml b/.github/workflows/frontend-linting.yaml index d4bdc6d8..bb630557 100644 --- a/.github/workflows/frontend-linting.yaml +++ b/.github/workflows/frontend-linting.yaml @@ -1,8 +1,6 @@ name: frontend-linting on: - push: - branches: [main, development] pull_request: branches: [main, development] workflow_dispatch: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d787cc08..b2ee6a59 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,8 +1,6 @@ name: tests on: - push: - branches: [main, development] pull_request: branches: [main, development] workflow_dispatch: