Skip to content

Commit

Permalink
Merge pull request #200 from corda/jacob/ES-1485
Browse files Browse the repository at this point in the history
ES-1485 Begin dry-run roll out on corda-cli-plugin-host
  • Loading branch information
jacob-scott3141 authored Oct 17, 2023
2 parents 940583b + cc76586 commit e0b5f1f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/remove-stale-branches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Remove stale branches'
on:
schedule:
- cron: '0 0 * * 1-5'

jobs:
remove-stale-branches:
name: Remove stale branches
runs-on: ubuntu-latest
steps:
- uses: fpicalausa/[email protected]
with:
dry-run: true
days-before-branch-stale: 30
days-before-branch-delete: 14
stale-branch-message: "@{author} The branch [{branchName}]({branchUrl}) hasn't been updated in the last 30 days and is marked as stale. It will be removed in 14 days.\r\nIf you want to keep this branch around, delete this comment or add new commits to this branch."
exempt-protected-branches: true
exempt-branches-regex: "^(release\\/|feature\\/|poc\\/).*"
operations-per-run: 30

0 comments on commit e0b5f1f

Please sign in to comment.