Skip to content

Commit

Permalink
feat: Add cleaner workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RiceBen committed Feb 21, 2024
1 parent d0525bd commit 4dcda3d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/cleaner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Simple workflow for deploying static content to GitHub Pages
name: Branches Cleaner

on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
# Single deploy job since we're just deploying
cleaner:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clean Branches
uses: RiceBen/[email protected]
with:
secToken: ${{ secrets.GITHUB_TOKEN }}
protect-branch-name: |
main
master
expiry-period-in-days: 5
is-force-delete: true

0 comments on commit 4dcda3d

Please sign in to comment.