[SUPPORT] How to use ref-version-mismatch #1852
|
Hi there, So, in our repo we run I tried to run I haven't filed this as a bug because I'm not sure if I'm using 🌈 zizmor Version$ zizmor --version
zizmor 1.23.1Example Workflow$ cat .github/workflows/apidiff.yml
name: APIDiff
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'
permissions: {}
jobs:
go-apidiff:
permissions:
contents: read
name: Verify API differences
runs-on: ubuntu-latest
# Pull requests from different repository only trigger this checks
if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
steps:
- name: Clone the code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v9.9.9 <---- This version is wrong
with:
go-version-file: go.mod
- name: Execute go-apidiff
uses: joelanford/go-apidiff@60c4206be8f84348ebda2a3e0c3ac9cb54b8f685 # v0.8.3
with:
compare-imports: true
print-compatible: truezizmor Output$ zizmor .github/workflows/apidiff.yml
🌈 zizmor v1.23.1
INFO audit: zizmor: 🌈 completed .github/workflows/apidiff.yml
No findings to report. Good job! (1 suppressed) |
Answered by
woodruffw
Apr 2, 2026
Replies: 2 comments 3 replies
|
Hi @vitorfloriano, thanks for opening this. I'll take a look. |
2 replies
Answer selected by
woodruffw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Opened #1853. Thanks @vitorfloriano!