From d1d13bd7c9f0b4d9cbc4f4c1f6c539b79fd35d8c Mon Sep 17 00:00:00 2001 From: Lynn Root Date: Tue, 9 Feb 2021 14:14:11 -0500 Subject: [PATCH] [CI] Trigger or ignore workflows based on top-level RST files GitHub Action docs on including/excluding specific files: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-paths --- .github/workflows/dependencies.yml | 2 ++ .github/workflows/docs.yml | 2 ++ .github/workflows/integration.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index fcffc91a..7265b0c3 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -12,6 +12,7 @@ on: - 'docs/**' - 'devtools/**' - 'examples/**' + - '**.rst' pull_request: branches: - master @@ -20,6 +21,7 @@ on: - 'docs/**' - 'devtools/**' - 'examples/**' + - '**.rst' jobs: core_cli_checks: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c27c6c9b..12008816 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,12 +9,14 @@ on: - develop paths: - 'docs/**' + - '**.rst' pull_request: branches: - master - develop paths: - 'docs/**' + - '**.rst' defaults: run: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index c3835f1e..4c0cb016 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -9,6 +9,7 @@ on: - 'docs/**' - 'devtools/**' - 'examples/**' + - '**.rst' pull_request: branches: - master @@ -17,6 +18,7 @@ on: - 'docs/**' - 'devtools/**' - 'examples/**' + - '**.rst' defaults: run: