Add GitHub workflow to delete stale branches (#8318)
* Add GitHub workflow to delete stale branches * chore: update version
This commit is contained in:
parent
2281993ff9
commit
4fc5ddf7f5
1 changed files with 22 additions and 0 deletions
22
.github/workflows/delete-stale-branches.yaml
vendored
Normal file
22
.github/workflows/delete-stale-branches.yaml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: Delete Stale Branches
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 6 * * 1-5"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
stale_branches:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Stale Branches
|
||||
uses: crs-k/stale-branches@v8.2.2
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
pr-check: true
|
||||
dry-run: true
|
||||
ignore-issue-interaction: true
|
||||
Loading…
Add table
Reference in a new issue