From 673f40653922511406042a05c4976681bf264bdc Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Wed, 23 Jun 2021 16:55:10 +0200 Subject: [PATCH] ci: Don't run CodeQL on translation changes --- .github/workflows/codeql-analysis.yml | 1 + .github/workflows/validate.yml | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3a89bf7..b2d70b1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -16,6 +16,7 @@ on: branches: - '*' - '!i18n_master' + - '!l10n_master' pull_request: # The branches below must be a subset of the branches above branches: [ master ] diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index b97d2ec..e5a39eb 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,12 +1,12 @@ name: Validation -on: - push: - tags: - - '*' +on: pull_request: branches: - '*' + push: + tags: + - '*' jobs: clang-format: @@ -54,4 +54,4 @@ jobs: run: | git --no-pager diff --patch --minimal HEAD -- git update-index --refresh - git diff-index --quiet HEAD -- \ No newline at end of file + git diff-index --quiet HEAD --