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

chore: add comments on pr suggesting formatting #181

Merged
merged 5 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/lua-format-check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
pull_request:
paths:
- "**.lua"
permissions:
contents: read
checks: write
issues: write
pull-requests: write
jobs:
format_code:
runs-on: ubuntu-latest
Expand All @@ -12,4 +17,9 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .
args: .
- name: suggester
uses: reviewdog/action-suggester@v1
with:
tool_name: stylua
fail_on_error: true
1 change: 1 addition & 0 deletions .styluaignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lua/tabnine/third_party/
2 changes: 1 addition & 1 deletion lua/tabnine/binary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function TabnineBinary:start()
"ide-restart-counter=" .. self.restart_counter,
"pluginVersion=" .. consts.plugin_version,
"--tls_config",
"insecure=" .. tostring(config.ignore_certificate_errors)
"insecure=" .. tostring(config.ignore_certificate_errors),
}, optional_args()),
stdio = { self.stdin, self.stdout, self.stderr },
}, function()
Expand Down
Loading