mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
641 B
YAML
26 lines
641 B
YAML
name: Delete Stale Branches
|
|
permissions:
|
|
contents: write
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 4 1 * *" # 4AM on 1st of every month
|
|
- cron: "0 4 15 * *" # 4AM on the 15th of every month
|
|
|
|
jobs:
|
|
branches:
|
|
name: Cleanup old branches
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Checkout"
|
|
uses: actions/checkout@v5
|
|
|
|
- name: "Delete old branches"
|
|
uses: beatlabs/delete-old-branches-action@v0.0.11
|
|
with:
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
date: "1 months ago"
|
|
dry_run: false
|
|
delete_tags: false
|
|
exclude_open_pr_branches: true
|