-
Notifications
You must be signed in to change notification settings - Fork 66
48 lines (44 loc) · 1.3 KB
/
rw-collect-changes.yaml
File metadata and controls
48 lines (44 loc) · 1.3 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Collect changes Reusable workflow
on:
workflow_call:
inputs:
commit-branch:
type: string
required: true
outputs:
changed-docs:
description: "Indicator of whether docs files or related config changed."
value: ${{ jobs.collect-changes.outputs.docs}}
changed-python-modules:
description: "Indicator of whether Python files or related config changed."
value: ${{ jobs.collect-changes.outputs.python-modules}}
jobs:
collect-changes:
runs-on:
group: infra1-runners-arc
labels: runners-small
outputs:
docs: "${{ steps.filter.outputs.docs}}"
python-modules: "${{ steps.filter.outputs.python-modules}}"
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: dorny/paths-filter@v3
id: filter
with:
base: ${{ inputs.commit-branch }}
filters: |
docs:
- 'packages/gooddata-pandas/**'
- 'packages/gooddata-sdk/**'
- 'docs/**'
python-modules:
- '.docker/**'
- 'packages/**'
- 'scripts/docs/**'
- '*.mk'
- 'Makefile'
- Dockerfile
- pyproject.toml
- 'gooddata-api-client/**'