From 4b0344172ace07847950d46a282a4b1a38cfdabc Mon Sep 17 00:00:00 2001 From: David Refoua Date: Tue, 25 Jul 2023 13:47:22 +0330 Subject: [PATCH] ignore github-related and markdown for tests and codeql --- .github/workflows/codeql.yml | 17 +++++++++++------ .github/workflows/tests.yml | 10 ++++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index bca11e9..1be9793 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,20 +3,25 @@ # # You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# + name: "CodeQL" on: push: branches: [ "master" ] + paths-ignore: + - '**/*.md' + - '**/*.txt' + - '.github/**' + - '**/.gitignore' pull_request: # The branches below must be a subset of the branches above branches: [ "master" ] + paths-ignore: + - '**/*.md' + - '**/*.txt' + - '.github/**' + - '**/.gitignore' schedule: - cron: '30 19 * * 0' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ed34599..c2d64cf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,9 +4,19 @@ on: push: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.txt' + - '.github/**' + - '**/.gitignore' pull_request: branches: - master + paths-ignore: + - '**/*.md' + - '**/*.txt' + - '.github/**' + - '**/.gitignore' defaults: run: