* ci: improve github actions * updates * revert title change * updates * implement feedback * Update go.mod Co-authored-by: Marko <marbar3778@yahoo.com>
18 lines
317 B
YAML
18 lines
317 B
YAML
name: Remove GitHub Action Old Artifacts
|
|
|
|
on:
|
|
schedule:
|
|
# Every day at 1am
|
|
- cron: "0 1 * * *"
|
|
|
|
jobs:
|
|
remove-old-artifacts:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
|
|
steps:
|
|
- name: Remove old artifacts
|
|
uses: c-hive/gha-remove-artifacts@v1
|
|
with:
|
|
age: "7 days"
|