From 75dd2354f05044d3500dbb162be5b6bcb2b951ce Mon Sep 17 00:00:00 2001 From: Holger Obermaier <40787752+ho-ob@users.noreply.github.com> Date: Fri, 23 Jan 2026 12:50:06 +0100 Subject: [PATCH] Set REVIEWDOG_GITHUB_API_TOKEN --- .github/workflows/runonce.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/runonce.yml b/.github/workflows/runonce.yml index 1580345..a1eacf8 100644 --- a/.github/workflows/runonce.yml +++ b/.github/workflows/runonce.yml @@ -68,15 +68,11 @@ jobs: name: staticcheck-json path: staticcheck.json - - name: Report staticcheck results via reviewdog (use uploaded JSON) + - name: Report staticcheck results via reviewdog run: | - # ensure reviewdog is in PATH - 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 + reviewdog -f=staticcheck -name=staticcheck -reporter=github-pr-check -filter-mode=nofilter < staticcheck.json|| true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} # # Build on AlmaLinux 8 using go-toolset