From 687644d00e6e9b92096e477a535116c7adf95756 Mon Sep 17 00:00:00 2001 From: neukym Date: Sun, 18 Feb 2024 21:21:43 +0000 Subject: [PATCH] Update lint-and-check-formatting.yml --- .github/workflows/lint-and-check-formatting.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-and-check-formatting.yml b/.github/workflows/lint-and-check-formatting.yml index 20c74cf1..42cb259d 100644 --- a/.github/workflows/lint-and-check-formatting.yml +++ b/.github/workflows/lint-and-check-formatting.yml @@ -1,5 +1,9 @@ name: Perform linting checks -on: [ push, pull_request ] +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: ruff: runs-on: ubuntu-latest