릴리스 워크플로에 production environment 지정 - #16
Conversation
nuget.org Trusted Publishing 정책의 Environment 설정(production)과 일치하도록 릴리스 잡에 environment를 지정. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
The changes correctly add the environment: production configuration to align with nuget.org Trusted Publishing requirements. The implementation is syntactically correct and properly positioned in the workflow file. No blocking issues found.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
There was a problem hiding this comment.
Pull request overview
NuGet.org Trusted Publishing(OIDC) 정책의 Environment 조건을 만족시키기 위해, 릴리스 워크플로의 publish job에 GitHub Actions production Environment를 지정하는 PR입니다. 이 변경은 OIDC 토큰의 environment 클레임이 nuget.org 정책과 일치하도록 만들어 임시 API 키 교환이 성공하게 하는 데 목적이 있습니다.
Changes:
release.yml의build-test-publishjob에environment: production추가- (주의) Environment 사용 시 필요한
deployments: write권한도 함께 고려 필요
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| environment: production | ||
|
|
||
| permissions: | ||
| # NuGet Trusted Publishing(OIDC)을 위한 GitHub OIDC 토큰 발급 권한 | ||
| id-token: write |
변경 사항
release.yml의build-test-publish잡에environment: production을 추가합니다.nuget.org Trusted Publishing 정책에 Environment가
production으로 설정되어 있으므로, OIDC 토큰의 environment 클레임이 정책과 일치해야 임시 API 키 교환이 성공합니다.참고: 저장소에
productionenvironment가 아직 없으면 워크플로 첫 실행 시 자동 생성됩니다(보호 규칙 없음 상태). 필요 시 Settings → Environments에서 승인자 지정 등 보호 규칙을 추가할 수 있습니다.🤖 Generated with Claude Code