Skip to content

Conversation

xopham
Copy link
Contributor

@xopham xopham commented Aug 1, 2025

his PR migrates the release workflow from using GITHUB_TOKEN with broad pull-requests: write permission to the more secure dd-octo-sts OIDC-based authentication system.

Changes

  • Added: Trust policy .github/chainguard/self.release.create-pr.sts.yaml with scoped permissions
  • Updated: .github/workflows/release.yml to use dd-octo-sts action
  • Removed: Workflow-level broad permissions in favor of job-level scoped permissions

Testing

The workflow will continue to function exactly as before, creating Homebrew formula update PRs when new version tags are pushed, but now we can deactivate "create/approve PR" permission of the GITHUB_TOKEN.

@xopham xopham requested a review from christophetd August 1, 2025 13:58
@christophetd christophetd merged commit 8b8b688 into main Aug 1, 2025
4 checks passed
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.

2 participants