Skip to content

fix: only convert commands query param when provided #5992

fix: only convert commands query param when provided

fix: only convert commands query param when provided #5992

Workflow file for this run

# name of the action
name: reviewdog
# trigger on pull_request events
on:
pull_request:
# pipeline to execute
jobs:
diff-review:
runs-on: ubuntu-latest
steps:
- name: clone
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: install go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
# use version from go.mod file
go-version-file: 'go.mod'
cache: true
check-latest: true
- name: golangci-lint
uses: reviewdog/action-golangci-lint@00311c26a97213f93f2fd3a3524d66762e956ae0 # v2.6.1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--config=.golangci.yml --timeout=5m"
fail_on_error: true
filter_mode: diff_context
reporter: github-pr-review
full-review:
runs-on: ubuntu-latest
steps:
- name: clone
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: install go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
# use version from go.mod file
go-version-file: 'go.mod'
cache: true
check-latest: true
- name: golangci-lint
uses: reviewdog/action-golangci-lint@00311c26a97213f93f2fd3a3524d66762e956ae0 # v2.6.1
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--config=.golangci.yml --timeout=5m"
fail_on_error: false
filter_mode: nofilter