Skip to content

CodelyTV/no-branches

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•Š No Branches

codely.tv CodelyTV Courses GitHub Action version

Useful if you do trunk-based development or master-only git flow

πŸš€ Usage

Create a file named remove-branch.yml inside the .github/workflows directory and paste:

name: Remove branch

on:
  create

jobs:
  remove-branch:
    runs-on: ubuntu-latest
    steps:
      - uses: codelytv/no-branches@v1
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

βš–οΈ License

MIT