Skip to content
git-branch

GitHub Action

tmp-branch-action

v0.0.1 Latest version

tmp-branch-action

git-branch

tmp-branch-action

GitHub action that creates a branch (remotely, on a Github repository), then deletes it in a "post" step

Installation

Copy and paste the following snippet into your .yml file.

              

- name: tmp-branch-action

uses: runsascoded/tmp-branch-action@v0.0.1

Learn more about this action in runsascoded/tmp-branch-action

Choose a version

tmp-branch-action

Github Action that creates a branch (remotely, via the GitHub API), then deletes it in a "post" step

Usage

steps:
  - name: Initialize test branch
    uses: runsascoded/tmp-branch-action@v1
    with:
      branch: ${{ env.branch }}
      sha: ${{ env.init }}

(from runsascoded/update-submodules)

See also tmp-branch-action on the Actions marketplace.