forked from RedisJSON/RedisJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 894 Bytes
/
task-check-docs.yml
File metadata and controls
29 lines (26 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Checks if Only Documentation Files were Changed
# Documentation: https://redislabs.atlassian.net/wiki/spaces/DX/pages/3967844669/RediSearch+CI+refactor
on:
workflow_call:
outputs:
only-docs-changed:
value: ${{ jobs.check-only-docs-changed.outputs.only-docs-changed }}
jobs:
check-only-docs-changed:
runs-on: ubuntu-latest
outputs:
only-docs-changed: ${{ steps.check-docs.outputs.only_modified }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # required for changed-files action to work
- name: Check if only docs were changed
id: check-docs
uses: tj-actions/changed-files@v44
with:
# List of files we allow to be changed without running the CI. Modify as needed.
files: |
**.md
licenses/**
LICENSE.txt