enhance(api/scm)!: return affected repos in API response and do not assume 404 on GetRepo error #5099
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: install go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 | |
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@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2 | |
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: install go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 | |
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@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2 | |
with: | |
github_token: ${{ secrets.github_token }} | |
golangci_lint_flags: "--config=.golangci.yml --timeout=5m" | |
fail_on_error: false | |
filter_mode: nofilter |