Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 452 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 452 Bytes

create-orphan-branch

Github Action to create a new orphan branch if a branch with the given name does not already exist

Example:

name: Create Orphan Branch
on:
  push:
    branches: [main]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Create Orphan Branch
        uses: action-badges/[email protected]
        with:
          branch-name: badges