From a91a739d0ed32bd3b729f136ef7d2095fda3efd3 Mon Sep 17 00:00:00 2001 From: Vaibhav Kamra Date: Wed, 8 Jun 2022 14:45:06 -0700 Subject: [PATCH] Only run CI once for pull requests (#169) Currently CI is triggered twice when a PR is updated (the second run being triggered by the branch push). This removes that trigger. --- .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 c53a8e063..2da3aec2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ name: CI on: push: - branches: ['**'] + branches: [main] pull_request: branches: [main]