fix: ci, delete stale branches

This commit is contained in:
Michal Klos
2025-08-04 09:53:52 +02:00
parent af7f55f1ac
commit dff22670e8

View File

@@ -0,0 +1,23 @@
name: Remove stale branches
on:
workflow_dispatch:
inputs:
dry-run:
description: 'Run in dry-run mode (no actual branch deletion)'
required: true
default: 'false'
type: boolean
schedule:
- cron: "0 0 * * *" # Everday at midnight
permissions: write-all
jobs:
remove-stale-branches:
name: Remove Stale Branches
runs-on: ubuntu-latest
steps:
- uses: fpicalausa/remove-stale-branches@v1.6.0
with:
ignore-unknown-authors: true
default-recipient: "kobergj"
dry-run: ${{ inputs.dry-run || 'true' }} # fallback to dry-run