Debian Codegraph @

.github/workflows/gh-pages-trim.yml

raw
1 name: Trim gh-pages history
2
3 on:
4 schedule:
5 - cron: '0 4 1 * *'
6 workflow_dispatch:
7 inputs:
8 retention:
9 description: 'Oldest commit to keep'
10 required: false
11 default: '2 months ago'
12 type: string
13
14 permissions:
15 contents: write
16
17 jobs:
18 trim:
19 uses: gofiber/.github/.github/workflows/gh-pages-trim.yml@main
20 with:
21 # 242 commits cost 4.5 MB against 1.0 MB for the tip, on a 4.8 MB repo.
22 retention: ${{ inputs.retention || '2 months ago' }}