Skip to content

Commit

Permalink
Prune stale branches
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Aug 1, 2024
1 parent b6f3875 commit 4396a27
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/prune.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Prune

on:
workflow_dispatch: {}
schedule:
- cron: '0 15 * * 3'

jobs:
tag:
name: Prune Branches
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
pull-requests: read
contents: write
steps:
- name: Prune stale branches
uses: balvajs/delete-stale-branches@v2
with:
dry-run: false
days-to-delete: 30

0 comments on commit 4396a27

Please sign in to comment.