You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(workflow): add guard logic for fork and dependabot Pull Requests
Add deploy_guard and cleanup_guard steps to skip preview deployment and
cleanup for fork PRs and Dependabot PRs, which don't have access to
repository secrets.
- Add deploy_guard step to skip preview deployment for fork PRs and Dependabot PRs
- Add cleanup_guard step to skip preview cleanup for fork PRs and Dependabot PRs
- Update PR comments to show deployment/cleanup status with skip reasons
- Fix wrangler command to use --env "" for preview aliases
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
const reasonBlock = shouldDeploy ? '' : `\n\n**Reason:** ${skipReason}\n\nIf you want a preview deployment, please ask a maintainer to run this from a branch within the main repository.`;
0 commit comments