From 3c03d279ee4ccf4796901f4ea6640787d341d11d Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 25 Jul 2024 09:46:26 -0700 Subject: Don't trigger CI on doc changes. (#4736) --- .github/workflows/ci.yml | 10 ++++++++++ .github/workflows/compile-regression-test.yml | 10 ++++++++++ .github/workflows/ensure-pr-label.yml | 5 +++++ .github/workflows/falcor-compiler-perf-test.yml | 10 ++++++++++ .github/workflows/falcor-test.yml | 10 ++++++++++ .github/workflows/release.yml | 5 +++++ 6 files changed, 50 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0949abcb7..b60556568 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,18 @@ name: CI on: push: branches: [master] + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' pull_request: branches: [master] + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/compile-regression-test.yml b/.github/workflows/compile-regression-test.yml index bd1011f86..e10492370 100644 --- a/.github/workflows/compile-regression-test.yml +++ b/.github/workflows/compile-regression-test.yml @@ -3,8 +3,18 @@ name: Compile Regression-Test on: push: branches: [ master ] + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' pull_request: branches: [ master ] + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/ensure-pr-label.yml b/.github/workflows/ensure-pr-label.yml index 59e94e0ff..8db5b6057 100644 --- a/.github/workflows/ensure-pr-label.yml +++ b/.github/workflows/ensure-pr-label.yml @@ -2,6 +2,11 @@ name: Verify PR Labels on: pull_request: types: [opened, labeled, unlabeled, synchronize] + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' jobs: label: runs-on: ubuntu-latest diff --git a/.github/workflows/falcor-compiler-perf-test.yml b/.github/workflows/falcor-compiler-perf-test.yml index 2fe168ade..841462c68 100644 --- a/.github/workflows/falcor-compiler-perf-test.yml +++ b/.github/workflows/falcor-compiler-perf-test.yml @@ -5,8 +5,18 @@ name: Falcor Compiler Perf-Test on: push: branches: [ master ] + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' pull_request: branches: [ master ] + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/falcor-test.yml b/.github/workflows/falcor-test.yml index 04c734bd4..af1c70d7e 100644 --- a/.github/workflows/falcor-test.yml +++ b/.github/workflows/falcor-test.yml @@ -3,8 +3,18 @@ name: Falcor Tests on: push: branches: [ master ] + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' pull_request: branches: [ master ] + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e68118176..bb315644a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,11 @@ on: # caches filled in a scope available to everyone branches: - master + paths-ignore: + - 'docs/**' + - 'LICENCE' + - 'CONTRIBUTION.md' + - 'README.md' tags: - 'v*' -- cgit v1.2.3