From ab0afb952e4d12ede06fadaf8bc6c1c97beea467 Mon Sep 17 00:00:00 2001 From: FichteFoll Date: Tue, 19 Nov 2024 20:08:49 +0100 Subject: [PATCH] CI: Adjust workflow to only run once Pull requests have the highest priority and the `main` branch is primarily for regression testing. We'll also never create a PR *from* `main`. --- .github/workflows/ci-syntax-tests.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci-syntax-tests.yml b/.github/workflows/ci-syntax-tests.yml index 566e3ac..1bf8905 100644 --- a/.github/workflows/ci-syntax-tests.yml +++ b/.github/workflows/ci-syntax-tests.yml @@ -3,16 +3,12 @@ name: CI Syntax Tests on: push: branches: - - '**' - tags-ignore: - - '**' + - main paths: - '.github/workflows/ci-syntax-tests.yml' - '**.sublime-syntax' - '**/syntax_test_*' pull_request: - branches: - - main paths: - '.github/workflows/ci-syntax-tests.yml' - '**.sublime-syntax'