Purge Branches #833
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Purge Branches | |
| on: | |
| schedule: | |
| - cron: "0 10 * * *" # every day @ 10 AM UTC | |
| jobs: | |
| purgeBranches: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Delete & Notify Branches | |
| uses: gita-vahdatinia/purge-branchn@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| days-to-notify: 30 | |
| days-to-delete: 7 |