Skip to content

Commit

Permalink
[skip ci] #13019 Create remove-stale-branches.yaml (#13020)
Browse files Browse the repository at this point in the history
* [skip ci] #13019 Create remove-stale-branches.yaml

* #13019 Update remove-stale-branches.yaml

Allow manual trigger.
Define stale as 6 months.

* #13019 Update remove-stale-branches.yaml
  • Loading branch information
blozano-tt authored Sep 23, 2024
1 parent 2a0b421 commit da4d7f1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/remove-stale-branches.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "[internal] Remove Stale Branches"

on:
schedule:
- cron: "0 0 * * *" # Runs every night at midnight
workflow_dispatch: # Allows manual trigger

jobs:
remove-stale-branches:
runs-on: ubuntu-latest
steps:
- uses: fpicalausa/[email protected]
with:
dry-run: true
days-before-branch-stale: 180 # Branches stale for ~6 months

0 comments on commit da4d7f1

Please sign in to comment.