Repository navigation
54 lines (51 loc) · 1.69 KB
/
Copy pathchanges.yml
File metadata and controls
54 lines (51 loc) · 1.69 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
49
50
51
52
53
54
name: Changed files
on:
workflow_call:
outputs:
benchmarks:
value: ${{ jobs.detect.outputs.benchmarks }}
docs:
value: ${{ jobs.detect.outputs.docs }}
cpp:
value: ${{ jobs.detect.outputs.cpp }}
cpp_core:
value: ${{ jobs.detect.outputs.cpp_core }}
cpp_format:
value: ${{ jobs.detect.outputs.cpp_format }}
cpp_tidy:
value: ${{ jobs.detect.outputs.cpp_tidy }}
python_quality:
value: ${{ jobs.detect.outputs.python_quality }}
python_build:
value: ${{ jobs.detect.outputs.python_build }}
shell:
value: ${{ jobs.detect.outputs.shell }}
wheels:
value: ${{ jobs.detect.outputs.wheels }}
permissions:
contents: read
jobs:
detect:
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
benchmarks: ${{ steps.paths.outputs.benchmarks }}
docs: ${{ steps.paths.outputs.docs }}
cpp: ${{ steps.paths.outputs.cpp }}
cpp_core: ${{ steps.paths.outputs.cpp_core }}
cpp_format: ${{ steps.paths.outputs.cpp_format }}
cpp_tidy: ${{ steps.paths.outputs.cpp_tidy }}
python_quality: ${{ steps.paths.outputs.python_quality }}
python_build: ${{ steps.paths.outputs.python_build }}
shell: ${{ steps.paths.outputs.shell }}
wheels: ${{ steps.paths.outputs.wheels }}
steps:
# Path selection needs commit history and trees, not file contents.
- uses: actions/checkout@v7
with:
fetch-depth: 0
filter: blob:none
# The hosted Ubuntu Python provides tomllib; no interpreter setup is needed.
- name: Select affected checks
id: paths
run: python3 .github/scripts/ci_changes.py