Skip to content

Commit

Permalink
Use git command instead of GitHub API to list modified files (vitessi…
Browse files Browse the repository at this point in the history
…o#10106)

* Use github.token so the GitHub API can list modified files

Signed-off-by: Florent Poinsard <[email protected]>

* Empty token

Signed-off-by: Florent Poinsard <[email protected]>

* Use fork of paths-filter

Signed-off-by: Florent Poinsard <[email protected]>

* Use frouioui/paths-filter@main instead of @master

Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui authored Apr 20, 2022
1 parent 54e61a5 commit 19bceba
Show file tree
Hide file tree
Showing 96 changed files with 192 additions and 96 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check_formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in Go files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
go_files:
- '**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check_imports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in Go files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
go_files:
- '**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check_make_parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
parser_changes:
- 'go/vt/sqlparser/**'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check_make_proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
proto_changes:
- 'bootstrap.sh'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check_make_sizegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
sizegen:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check_make_visitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
visitor:
- 'go/tools/asthelpergen/**'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_26.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_mysql80.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_declarative.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_ghost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_revert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_revertible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_singleton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_vrepl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_vrepl_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_resharding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_resharding_bytes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_schemadiff_vrepl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Check for changes in relevant files
uses: dorny/paths-filter@v2
uses: frouioui/paths-filter@main
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down
Loading

0 comments on commit 19bceba

Please sign in to comment.