Skip to content

Cleanup backport branches #19

Cleanup backport branches

Cleanup backport branches #19

name: Cleanup backport branches
on:
schedule:
- cron: '0 2 * * 0' # Weekly on Sunday at 2 AM UTC
workflow_dispatch:
inputs:
dry_run:
description: 'Dry run mode'
required: false
default: 'true'
type: choice
options:
- 'true'
- 'false'
permissions:
contents: write
jobs:
cleanup-backport-branches:
uses: loft-sh/github-actions/.github/workflows/cleanup-backport-branches.yaml@36bd60efa4d72d6195f9222b67b1c633044bf90a # cleanup-backport-branches/v1
with:
dry-run: ${{ github.event.inputs.dry_run || 'false' }}
secrets:
gh-access-token: ${{ secrets.GH_ACCESS_TOKEN }}