https://github.com/acj/action-branch-from-working-copy
GitHub Action that creates a new branch from your working copy
https://github.com/acj/action-branch-from-working-copy
Last synced: about 1 month ago
JSON representation
GitHub Action that creates a new branch from your working copy
- Host: GitHub
- URL: https://github.com/acj/action-branch-from-working-copy
- Owner: acj
- Created: 2019-09-01T18:30:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-21T18:43:10.000Z (about 6 years ago)
- Last Synced: 2025-10-20T00:24:39.411Z (10 months ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# action-branch-from-working-copy
GitHub Action that creates a new git branch from your working copy
## Usage
See [action.yml](./action.yml) for comprehensive list of options.
```yaml
name: "Create branch from working copy"
on: release
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Create branch
uses: acj/action-branch-from-working-copy@v1
with:
BRANCH_NAME: "v3-release"
COMMIT_MESSAGE: "Bump version number for package"
COMMIT_AUTHOR_NAME: "Friendly Developer"
COMMIT_AUTHOR_EMAIL: "dev@example.com"
FAIL_IF_BRANCH_EXISTS: "false"
```