From f46b6c09df3aee9f0cab39a411e7218e855fe6d7 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 12 Jul 2022 17:23:43 -0300 Subject: [PATCH] ci: ignore git-related paths and the project license Add the following paths to the ignore lists: - .git-blame-ignore-revs - .gitignore - COPYING To avoid running CI unnecessarily. Commands used to show only the root files: $ git ls-files | grep -v / Misc: I noticed the missing paths on #5248. --- .github/workflows/build-extra.yml | 6 ++++++ .github/workflows/build.yml | 6 ++++++ .github/workflows/codeql-analysis.yml | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 6f9a4bc2c60..da54c109439 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml @@ -4,7 +4,10 @@ on: push: branches: [ master ] paths-ignore: + - .git-blame-ignore-revs + - .gitignore - CONTRIBUTING.md + - COPYING - README - README.md - RELNOTES @@ -16,7 +19,10 @@ on: pull_request: branches: [ master ] paths-ignore: + - .git-blame-ignore-revs + - .gitignore - CONTRIBUTING.md + - COPYING - README - README.md - RELNOTES diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc78933051d..7b23ea0b311 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,10 @@ on: push: branches: [ master ] paths-ignore: + - .git-blame-ignore-revs + - .gitignore - CONTRIBUTING.md + - COPYING - README - README.md - RELNOTES @@ -12,7 +15,10 @@ on: pull_request: branches: [ master ] paths-ignore: + - .git-blame-ignore-revs + - .gitignore - CONTRIBUTING.md + - COPYING - README - README.md - RELNOTES diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d34a48aa39e..fb5e7f9b3eb 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,7 +9,10 @@ on: push: branches: [ master ] paths-ignore: + - .git-blame-ignore-revs + - .gitignore - CONTRIBUTING.md + - COPYING - README - README.md - RELNOTES @@ -19,7 +22,10 @@ on: # The branches below must be a subset of the branches above branches: [ master ] paths-ignore: + - .git-blame-ignore-revs + - .gitignore - CONTRIBUTING.md + - COPYING - README - README.md - RELNOTES