mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2026-01-27 15:01:45 +01:00
Set REVIEWDOG_GITHUB_API_TOKEN
This commit is contained in:
10
.github/workflows/runonce.yml
vendored
10
.github/workflows/runonce.yml
vendored
@@ -68,15 +68,11 @@ jobs:
|
|||||||
name: staticcheck-json
|
name: staticcheck-json
|
||||||
path: staticcheck.json
|
path: staticcheck.json
|
||||||
|
|
||||||
- name: Report staticcheck results via reviewdog (use uploaded JSON)
|
- name: Report staticcheck results via reviewdog
|
||||||
run: |
|
run: |
|
||||||
# ensure reviewdog is in PATH
|
reviewdog -f=staticcheck -name=staticcheck -reporter=github-pr-check -filter-mode=nofilter < staticcheck.json|| true
|
||||||
echo "$PATH"
|
|
||||||
which reviewdog
|
|
||||||
export PATH="$PATH:$(go env GOPATH)/bin"
|
|
||||||
cat staticcheck.json | $(go env GOPATH)/bin/reviewdog -f=staticcheck -name=staticcheck -reporter=github-pr-check -filter-mode=nofilter || true
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build on AlmaLinux 8 using go-toolset
|
# Build on AlmaLinux 8 using go-toolset
|
||||||
|
|||||||
Reference in New Issue
Block a user