Skip to content

Creates a temporary branch and deletes it before the workflow finishes.

License

Notifications You must be signed in to change notification settings

morganschoen/temporary-branch-action

 
 

Repository files navigation

Temporary Branch Action

Creates a temporary branch and deletes it before the workflow finishes.

Usage

- name: Create Temporary Branch
  uses: carlsberg/[email protected]

Example

See the example in .github/workflows/test.yml.

Inputs

Name Description Default
base Base branch to create the temporary branch from -
push Specify if the temporary branch should be pushed to origin or not false

Outputs

Name Description
branch Name of the temporary branch

Contributing

Please, see CONTRIBUTING.md to learn how you can contribute to this repository. Every contribution is welcome!

License

This project is released under the MIT License.

About

Creates a temporary branch and deletes it before the workflow finishes.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 89.9%
  • Dockerfile 10.1%