Skip to content

Commit

Permalink
ci: Update cache cleanup (#169)
Browse files Browse the repository at this point in the history
* ci: Update cache cleanup

* Update package-lock.json
  • Loading branch information
ankurdotb authored Apr 4, 2023
1 parent 53829df commit 473f66d
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 48 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ updates:

# Maintain dependencies for Docker
- package-ecosystem: "docker"
target-branch: "develop"
directory: "/"
schedule:
interval: "weekly"

# Maintain dependencies for Golang
- package-ecosystem: "gomod"
target-branch: "develop"
directory: "/"
schedule:
interval: "weekly"
Expand All @@ -41,3 +43,10 @@ updates:
directory: "/"
schedule:
interval: "weekly"

# Maintain dependencies for Kotlin
- package-ecosystem: "gradle"
target-branch: "develop"
directory: "/"
schedule:
interval: "weekly"
24 changes: 0 additions & 24 deletions .github/workflows/cleanup-cache-automatic.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/cleanup-cache-manual.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/cleanup-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Cleanup - Cache"
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:

jobs:

delete-caches:
name: "Delete Actions caches"
runs-on: ubuntu-latest

steps:
- name: "Wipe Github Actions cache"
uses: easimon/wipe-cache@v2
1 change: 0 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
branches:
- main
- develop
- release/**
types:
- opened
- reopened
Expand Down
6 changes: 4 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 473f66d

Please sign in to comment.