From 83b3a28a327e7409eacd20da243c5f9efd00f8b2 Mon Sep 17 00:00:00 2001 From: Matthias Holoch Date: Wed, 24 Jan 2024 12:28:09 +0100 Subject: [PATCH] restrict noetic CI workflow to only run on relevant branches or PRs to those branches --- .github/workflows/noetic.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/noetic.yml b/.github/workflows/noetic.yml index ab46af12..f30e90a3 100644 --- a/.github/workflows/noetic.yml +++ b/.github/workflows/noetic.yml @@ -1,6 +1,17 @@ name: Noetic CI -on: [push, pull_request] +on: + push: + branches: + - 'master' + - 'noetic' + pull_request: + branches: + - 'master' + - 'noetic' + workflow_dispatch: + branches: + - '*' jobs: build: