-
Notifications
You must be signed in to change notification settings - Fork 167
78 lines (77 loc) · 2.91 KB
/
Copy pathchanges.yml
File metadata and controls
78 lines (77 loc) · 2.91 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: Detect Changes
on:
workflow_call:
outputs:
code:
description: 'code change/override flag'
value: ${{ jobs.changes.outputs.code }}
docs:
description: 'docs change/override flag'
value: ${{ jobs.changes.outputs.docs }}
ci:
description: 'ci change/override flag'
value: ${{ jobs.changes.outputs.ci }}
format_config:
description: 'format_config change/override flag'
value: ${{ jobs.changes.outputs.format_config }}
benchmark:
description: 'benchmark change/override flag'
value: ${{ jobs.changes.outputs.benchmark }}
gifs:
description: 'gifs change/override flag'
value: ${{ jobs.changes.outputs.gifs }}
mill_wrapper:
description: 'mill_wrapper change/override flag'
value: ${{ jobs.changes.outputs.mill_wrapper }}
test_all:
description: 'test_all change/override flag'
value: ${{ jobs.changes.outputs.test_all }}
test_native:
description: 'test_native change/override flag'
value: ${{ jobs.changes.outputs.test_native }}
test_integration:
description: 'test_integration change/override flag'
value: ${{ jobs.changes.outputs.test_integration }}
test_docs:
description: 'test_docs change/override flag'
value: ${{ jobs.changes.outputs.test_docs }}
test_format:
description: 'test_format change/override flag'
value: ${{ jobs.changes.outputs.test_format }}
test_skip:
description: 'test_skip change/override flag'
value: ${{ jobs.changes.outputs.test_skip }}
jobs:
changes:
runs-on: ubuntu-24.04
timeout-minutes: 5
outputs:
code: ${{ steps.classify.outputs.code }}
docs: ${{ steps.classify.outputs.docs }}
ci: ${{ steps.classify.outputs.ci }}
format_config: ${{ steps.classify.outputs.format_config }}
benchmark: ${{ steps.classify.outputs.benchmark }}
gifs: ${{ steps.classify.outputs.gifs }}
mill_wrapper: ${{ steps.classify.outputs.mill_wrapper }}
test_all: ${{ steps.overrides.outputs.test_all }}
test_native: ${{ steps.overrides.outputs.test_native }}
test_integration: ${{ steps.overrides.outputs.test_integration }}
test_docs: ${{ steps.overrides.outputs.test_docs }}
test_format: ${{ steps.overrides.outputs.test_format }}
test_skip: ${{ steps.overrides.outputs.test_skip }}
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Classify changes
id: classify
env:
EVENT_NAME: ${{ github.event_name }}
BASE_REF: ${{ github.event.pull_request.base.ref }}
run: .github/scripts/classify-changes.sh
- name: Check override keywords
id: overrides
env:
EVENT_NAME: ${{ github.event_name }}
PR_BODY: ${{ github.event.pull_request.body }}
run: .github/scripts/check-override-keywords.sh