summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pull-compliance-docs.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pull-compliance-docs.yml')
-rw-r--r--.github/workflows/pull-compliance-docs.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/pull-compliance-docs.yml b/.github/workflows/pull-compliance-docs.yml
index 44db6d67af..be0ecc3220 100644
--- a/.github/workflows/pull-compliance-docs.yml
+++ b/.github/workflows/pull-compliance-docs.yml
@@ -2,16 +2,18 @@ name: compliance-docs
on:
pull_request:
- paths:
- - "docs/**"
- - "*.md"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
+ files-changed:
+ uses: ./.github/workflows/files-changed.yml
+
compliance-docs:
+ if: needs.files-changed.outputs.docs == 'true'
+ needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3