Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/codelytv/no-branches
- Owner: CodelyTV
- License: mit
- Created: 2020-04-08T12:47:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-08T14:27:34.000Z (over 4 years ago)
- Last Synced: 2024-10-31T10:43:45.878Z (15 days ago)
- Topics: actions, branching, git, github, github-action, github-actions
- Language: Shell
- Size: 3.91 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🕊 No Branches
Useful if you dotrunk-based development
ormaster-only git flow
## 🚀 Usage
Create a file named `remove-branch.yml` inside the `.github/workflows` directory and paste:
```yml
name: Remove branchon:
createjobs:
remove-branch:
runs-on: ubuntu-latest
steps:
- uses: codelytv/no-branches@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```## ⚖️ License
[MIT](LICENSE)