Skip to content

format: only check sh format for repository files#14146

Merged
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
akonradi:shellcheck-only-git-files
Nov 23, 2020
Merged

format: only check sh format for repository files#14146
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
akonradi:shellcheck-only-git-files

Conversation

@akonradi
Copy link
Contributor

Commit Message: Only run shellcheck on repository files
Additional Description:
Right now, the shellcheck format checks all files under the directory,
which is unfriendly for a number of reasons (git worktrees, dev scripts,
autogenerated code). Instead of using find, use git ls-files to list
files which can then be filtered.

Risk Level: low
Testing: ran CI fix_format
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Right now, the shellcheck format checks all files under the directory,
which is unfriendly for a number of reasons (git worktrees, dev scripts,
autogenerated code). Instead of using find, use `git ls-files` to list
files which can then be filtered.

Signed-off-by: Alex Konradi <akonradi@google.com>
@mattklein123 mattklein123 merged commit 5adcd1f into envoyproxy:master Nov 23, 2020
qqustc pushed a commit to qqustc/envoy that referenced this pull request Nov 24, 2020
Right now, the shellcheck format checks all files under the directory,
which is unfriendly for a number of reasons (git worktrees, dev scripts,
autogenerated code). Instead of using find, use `git ls-files` to list
files which can then be filtered.

Signed-off-by: Alex Konradi <akonradi@google.com>
Signed-off-by: Qin Qin <qqin@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants