mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
27 lines
653 B
YAML
27 lines
653 B
YAML
name: GitHub Cleanup
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
secrets:
|
|
GH_TOKEN:
|
|
required: true
|
|
|
|
jobs:
|
|
github-cleanup:
|
|
name: GitHub Cleanup
|
|
timeout-minutes: 5
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Delete Older Releases
|
|
uses: nikhilbadyal/ghaction-rm-releases@v0.0.2
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
RELEASE_PATTERN: '[\s\S]*'
|
|
|
|
- name: Delete Workflow Runs
|
|
uses: nikhilbadyal/ghactions/.github/workflows/github-workflow-cleaner.yml@main
|
|
with:
|
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
GITHUB_REPOSITORY: ${{ github.repository }}
|