Update .gitea/workflows/delete-artifacts.yaml
This commit is contained in:
parent
848d5424fa
commit
3649038488
@ -1,6 +1,7 @@
|
|||||||
name: Remove old artifacts
|
name: Remove old artifacts
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
schedule:
|
schedule:
|
||||||
# Every day at 1am
|
# Every day at 1am
|
||||||
- cron: '0 1 * * *'
|
- cron: '0 1 * * *'
|
||||||
@ -15,6 +16,7 @@ jobs:
|
|||||||
uses: c-hive/gha-remove-artifacts@v1
|
uses: c-hive/gha-remove-artifacts@v1
|
||||||
with:
|
with:
|
||||||
age: '1 month' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js
|
age: '1 month' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js
|
||||||
|
GITHUB_TOKEN: ${{ gitea.TOKEN }}
|
||||||
# Optional inputs
|
# Optional inputs
|
||||||
# skip-tags: true
|
# skip-tags: true
|
||||||
# skip-recent: 5
|
# skip-recent: 5
|
Loading…
Reference in New Issue
Block a user