From 0d05c55898c0029b07cd08199de68a93f174f511 Mon Sep 17 00:00:00 2001 From: Lars Bruun-Hansen Date: Tue, 18 Jun 2024 00:35:11 +0200 Subject: [PATCH] ci: for push event: only if branch=main This also avoids double-building on pull requests in own repo. --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f2facff..49139bb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ on: push: # Only on push of commits, not push of tags (we have 'release' for that) branches: - - "*" + - "main" pull_request: workflow_dispatch: release: