From ee671c823b39028597ab89ebb58e89d43b06c1f1 Mon Sep 17 00:00:00 2001 From: Alex Dewar Date: Tue, 28 May 2024 16:20:29 +0100 Subject: [PATCH] CI: Don't run workflows on every push --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 673a718..c8ae25f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ name: Test and build -on: [push, pull_request, workflow_call] +on: + push: + branches: [main] + pull_request: + workflow_dispatch: jobs: check-links: