forked from deephaven/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 1.04 KB
/
docs-sync-check.yml
File metadata and controls
34 lines (30 loc) · 1.04 KB
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
30
31
32
33
34
name: Docs Sync Check
on:
pull_request:
types: [ opened, synchronize, reopened, labeled, unlabeled ]
branches: [ 'main', 'rc/v*' ]
paths:
- 'docs/python/**'
- 'docs/groovy/**'
jobs:
docs-sync:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
# v47.0.5 - pinned to SHA for security
uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323
with:
files: |
docs/python/**
docs/groovy/**
- name: Check Python/Groovy Docs Sync
env:
HAS_NoPythonDocsChangesNeeded: ${{ contains(github.event.pull_request.labels.*.name, 'NoPythonDocsChangesNeeded') }}
HAS_NoGroovyDocsChangesNeeded: ${{ contains(github.event.pull_request.labels.*.name, 'NoGroovyDocsChangesNeeded') }}
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: .github/scripts/check-docs-sync.sh