mirror of
https://github.com/ysoftdevs/oauth-playground-server.git
synced 2026-05-01 04:44:22 +02:00
Create artifacts-cleanup.yml
This commit is contained in:
14
.github/workflows/artifacts-cleanup.yml
vendored
Normal file
14
.github/workflows/artifacts-cleanup.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
name: Artifacts cleanup
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 1 * * *' # every night at 1 am UTC
|
||||
|
||||
jobs:
|
||||
delete-artifacts:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: kolpav/purge-artifacts-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
expire-in: 0days
|
||||
Reference in New Issue
Block a user