Skip to content

ci: bump actions/setup-node to v6.4.0 (zizmor ref-version-mismatch fix)#158

Merged
Palbahngmiyine merged 2 commits intosolapi:betafrom
Palbahngmiyine:fix/zizmor-ref-version-mismatch
Apr 20, 2026
Merged

ci: bump actions/setup-node to v6.4.0 (zizmor ref-version-mismatch fix)#158
Palbahngmiyine merged 2 commits intosolapi:betafrom
Palbahngmiyine:fix/zizmor-ref-version-mismatch

Conversation

@Palbahngmiyine
Copy link
Copy Markdown
Member

@Palbahngmiyine Palbahngmiyine commented Apr 20, 2026

Summary

zizmor v1.24.1의 ref-version-mismatch 감사 규칙이 actions/setup-node의 pinned SHA와 주석 버전이 서로 다른 릴리즈를 가리키는 것을 감지하여 GitHub Actions Security job이 exit code 13으로 실패. 이번 PR은 SHA를 v6.4.0으로 실제 업그레이드하고 주석을 정합시켜 해결합니다.

관련 실패 run: GitHub Actions Security #24647689822 (chore(beta): release solapi 6.0.0-beta.4)

원인

  • 이전 SHA 53b83947a5a98c8d113130e565377fae1a50d02f → actions/setup-node v6.3.0
  • 주석 # v6 → v6 floating tag는 현재 v6.4.0 (48b55a011bda)을 가리킴
  • zizmor가 "주석과 SHA가 다른 릴리즈" → mismatch 경고 7건 → exit 13

수정 — v6.4.0으로 업그레이드

파일 변경 위치
.github/workflows/ci.yml L37, L69, L112
.github/workflows/release.yml L120, L192, L250
.github/workflows/build-docs.yaml L30

7곳 모두:

- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
+ uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0

v6.4.0 안전성 검토

릴리즈 노트 확인:

  • @actions/* 내부 의존성 업데이트
  • versions.yml의 Node.js 버전 최신화
  • API/동작 변경 없음, breaking change 없음

검증 (zizmor 공식 문서)

  • Rule: ref-version-mismatch (https://docs.zizmor.sh/audits)
  • Remediation: "Update or add the version tag comment to align with the actual pinned commit."
  • 본 PR은 SHA·주석 모두 최신 릴리즈(v6.4.0)로 동기화하여 장기적으로 재발 방지.

🤖 Generated with Claude Code

@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

…ismatch

zizmor v1.24.1의 `ref-version-mismatch` 룰이 pinned SHA와 주석 버전 불일치를
감지하여 경고 7건이 GitHub Actions Security job을 exit 13으로 실패시킴.

이전 상태:
- SHA `53b83947...` = actions/setup-node v6.3.0
- 주석 `# v6`은 현재 v6 floating tag가 가리키는 v6.4.0 암시

해결:
- actions/setup-node를 v6.4.0(`48b55a011bda`)으로 실제 업그레이드
- 주석도 구체적 `# v6.4.0`으로 정합
- v6.4.0은 의존성 업데이트(@actions/*, Node 버전 versions.yml) 외 breaking
  change 없는 minor release

적용 파일(7곳):
- .github/workflows/ci.yml L37, L69, L112
- .github/workflows/release.yml L120, L192, L250
- .github/workflows/build-docs.yaml L30

관련 실패 run: solapi/solapi-nodejs 24647689822

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Palbahngmiyine Palbahngmiyine force-pushed the fix/zizmor-ref-version-mismatch branch from ead8fdb to 82c46c4 Compare April 20, 2026 06:17
@Palbahngmiyine Palbahngmiyine changed the title ci: fix zizmor ref-version-mismatch on actions/setup-node ci: bump actions/setup-node to v6.4.0 (zizmor ref-version-mismatch fix) Apr 20, 2026
@Palbahngmiyine Palbahngmiyine merged commit 1fea6a2 into solapi:beta Apr 20, 2026
8 checks passed
@Palbahngmiyine Palbahngmiyine deleted the fix/zizmor-ref-version-mismatch branch April 20, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant