Skip to content

Protect release credentials with environment scope - #2

Merged
sansari merged 1 commit into
mainfrom
security/protect-release-environment
Sep 2, 2026
Merged

Protect release credentials with environment scope#2
sansari merged 1 commit into
mainfrom
security/protect-release-environment

Conversation

@sansari

@sansari sansari commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • bind the official release job to the release GitHub environment
  • generate a fresh temporary-keychain password on each workflow run
  • document environment-scoped credentials and remove the obsolete keychain-password secret

Validation

  • parsed .github/workflows/release.yml successfully
  • passed scripts/test-release-dmg.sh
  • verified all expected environment secret names and the APPLE_TEAM_ID variable are configured
  • verified the workflow and docs no longer reference APPLE_KEYCHAIN_PASSWORD

Environment setup

Before creating a release tag, restrict the release environment to protected v* tags and optionally require maintainer approval.

Review note

A fresh automated security reviewer was requested but unavailable due provider quota; public CI and maintainer review remain required before merge.

@sansari
sansari merged commit 5779a2d into main Sep 2, 2026
2 checks passed
@sansari
sansari deleted the security/protect-release-environment branch September 2, 2026 21:40
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