Skip to content

Commit bd96e80

Browse files
committed
try to find relevant changes
1 parent 92afb4e commit bd96e80

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/generate-go-docs.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,36 @@ jobs:
3939
with:
4040
fetch-depth: 0
4141

42+
- name: Detect changes
43+
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
44+
id: changes
45+
with:
46+
filters: |
47+
seth:
48+
- 'seth/**/*.go'
49+
wasp:
50+
- 'wasp/**/*.go'
51+
havoc:
52+
- 'havoc/**/*.go'
53+
lib:
54+
- 'lib/**/*.go'
55+
k8s-test-runner:
56+
- 'k8s-test-runner/**/*.go'
57+
framework:
58+
- 'framework/**/*.go'
59+
# later add tools here or make this filter dynamic (if possible)
60+
4261
- name: Find all go modules
4362
shell: bash
4463
id: go-modules
4564
run: |
4665
PATH=$PATH:$(go env GOPATH)/bin
4766
export PATH
67+
68+
echo ${{ steps.changes.outputs.changes }} | jq
69+
70+
exit 1
71+
4872
gomods_output=$(gomods 2>&1)
4973
5074
# Extract the parent directories of go.mod files

0 commit comments

Comments
 (0)