From fb66bf89b9ce365b5efe290be510501d45130e17 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Sat, 6 Aug 2022 01:41:01 +0200 Subject: ci: only run the workflow on a push to master With both `push` and `pull_request` a push to an open PR triggers two redundant builds which we should avoid. This should have minimal impact since I typically open a PR when working on a feature. --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 601b14a..3f4d3c2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,6 +3,7 @@ name: CI on: create: push: + branches: master pull_request: schedule: - cron: "0 13 * * *" -- cgit v1.2.3