Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codelytv/no-branches

🕊 GitHub Action to autoremove all branches
https://github.com/codelytv/no-branches

actions branching git github github-action github-actions

Last synced: 4 days ago
JSON representation

🕊 GitHub Action to autoremove all branches

Awesome Lists containing this project

README

        






🕊 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:

```yml
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](LICENSE)