From daf7ef8d114bbdc6b32ef015959c41fb74ed1435 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Wed, 17 Jan 2024 16:18:00 -0800 Subject: [PATCH] Limit linting checks to the develop branch. --- .github/workflows/pre-commit.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index bfa4205c..4b2c66e0 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,6 +1,12 @@ name: Linting -on: [push, pull_request] +on: + push: + branches: + - develop + pull_request: + branches: + - develop jobs: pre_job: