bobthebuidler/Poosh

Attempts to push changes directly to the specified branch. If direct push is not possible (e.g., due to permissions or branch protection), creates a new branch and opens a pull request to the target branch instead.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 22, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: bobthebuidler/poosh@65c1823d8420c8b686b55ee852ef96aadf396593 # v0.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
commit-messageCommit message to use when committing changes.yes
trigger-branchThe branch where changes were made and where the action will attempt to push directly. If direct push fails, a PR will be opened to this branch.yes
direct-pushWhether to attempt a direct push to trigger-branch before using the PR branch fallback.notrue
pr-branchThe name of the branch to create or update if a PR is needed. If not provided, defaults to 'poosh/{trigger-branch}'. If provided and does not contain '/', it will be prefixed with 'poosh/'.no""
pr-branch-strategyHow to handle an existing PR branch: update it with --force-with-lease, create a suffixed unique branch, or fail.noupdate
pr-baseThe base branch to target if a PR is needed. Defaults to the trigger-branch.no""
trigger-pr-numberOptional: PR number of the triggering PR (e.g., 1234). If set, the PR body will include 'Triggered by #<number>'.no""
pr-bodyThe body content for the pull request. If not provided, a default message will be used, followed by trigger info.noThis PR was generated by [Poosh](https://github.com/BobTheBuidler/poosh) as part of a GitHub Actions workflow
namedescription
trigger-branchThe branch that was pushed to or targeted by the PR.
commit-shaThe commit SHA of the pushed commit (if a commit was made).
pr-urlThe URL of the created pull request (if a PR was opened).
pr-numberThe number of the created pull request (if a PR was opened).