Skip to content

Commit

Permalink
Update prune branches action
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x authored Apr 12, 2024
1 parent 5806fd1 commit d20436b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/prune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@ on:
schedule:
- cron: '0 15 * * 3'

permissions:
issues: write
contents: write

jobs:
tag:
name: Prune Branches
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
pull-requests: read
contents: write
steps:
- name: Prune stale branches
uses: crs-k/stale-branches@v5.0.0
uses: balvajs/delete-stale-branches@v2
with:
days-before-stale: 7
days-before-delete: 14
dry-run: false
days-to-delete: 7

0 comments on commit d20436b

Please sign in to comment.