Skip to content

Guard unavailable create PR actions#113

Merged
Emanuele-web04 merged 1 commit into
mainfrom
dpcode/create-pr-availability-guard
May 13, 2026
Merged

Guard unavailable create PR actions#113
Emanuele-web04 merged 1 commit into
mainfrom
dpcode/create-pr-availability-guard

Conversation

@Emanuele-web04
Copy link
Copy Markdown
Owner

Summary

  • route direct create-pr attempts through the same availability check as the header action
  • prevent stale post-push toasts from offering Create PR when there is no branch diff
  • cover default-upstream and published feature-branch cases in git action logic tests

Verification

  • bun run vitest run src/components/GitActionsControl.logic.test.ts
  • bun run build
  • git diff --check

@github-actions github-actions Bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels May 13, 2026
@Emanuele-web04 Emanuele-web04 merged commit 32723ae into main May 13, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant