From 86da0c0196a5ea74855fd68dae92db85304fa6d8 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 30 May 2022 15:32:28 +0200 Subject: [PATCH 1/2] Avoid running ci twice on PRs. --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b503320..636b5c11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,12 @@ name: Tests -on: [push, pull_request, workflow_dispatch] - +on: + push: + branches: + - master + pull_request: + workflow_dispatch: + env: FORCE_COLOR: 1 From 8bcc105821f9471885dfdfcc697ded456d03acbb Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 30 May 2022 16:12:55 +0200 Subject: [PATCH 2/2] master -> main --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 636b5c11..2aa45633 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: Tests on: push: branches: - - master + - main pull_request: workflow_dispatch: