From 6b8b8b68625eadc75b7c5da782b253bb22425cd6 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 16 Jan 2023 11:49:49 +0100 Subject: [PATCH] Don't build on pushses and pull requests to master. Do build on tags starting with 'build' --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec34b3d69..abdd4f2d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,12 +3,11 @@ name: Build and Test on: push: branches: - - issue2-cicd - - master - 'deployment/**' + tags: + - 'build*' pull_request: branches: - - master - 'deployment/**'