Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use git command instead of GitHub API to list modified files #10106

Merged
merged 5 commits into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
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@master
id: changes
with:
token: ''
filters: |
end_to_end:
- 'go/**/*.go'
Expand Down