From 2e07af1646f7288808b651068ef0843ed93d3801 Mon Sep 17 00:00:00 2001 From: Nick Molcanov <32801560+nck-mlcnv@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:52:51 +0100 Subject: [PATCH] Limit workflow to pull request on main branch --- .github/workflows/check_version.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_version.yml b/.github/workflows/check_version.yml index f15f65cba..6860021eb 100644 --- a/.github/workflows/check_version.yml +++ b/.github/workflows/check_version.yml @@ -1,6 +1,9 @@ # Checks if version number has been updated name: Version Check -on: pull_request +on: + pull_request: + branches: + - main jobs: lint: