mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Workflow cleanup
This commit is contained in:
@@ -117,6 +117,6 @@ jobs:
|
|||||||
name: GitHub Cleanup
|
name: GitHub Cleanup
|
||||||
if: ${{ inputs.CLEANUP }}
|
if: ${{ inputs.CLEANUP }}
|
||||||
needs: [ upload-to-telegram ]
|
needs: [ upload-to-telegram ]
|
||||||
uses: ./.github/workflows/github-cleanup.yml
|
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ jobs:
|
|||||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
cleanup:
|
cleanup:
|
||||||
name: GitHub Cleanup
|
name: GitHub Cleanup
|
||||||
uses: ./.github/workflows/github-cleanup.yml
|
uses: nikhilbadyal/ghactions/.github/workflows/github-cleanup.yml@main
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
name: GitHub Cleanup
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
workflow_call:
|
|
||||||
secrets:
|
|
||||||
GH_TOKEN:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release-cleanup:
|
|
||||||
name: GitHub Cleanup
|
|
||||||
timeout-minutes: 5
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Delete Older Releases
|
|
||||||
uses: nikhilbadyal/ghaction-rm-releases@v0.0.1
|
|
||||||
with:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
||||||
RELEASE_PATTERN: '[\s\S]*'
|
|
||||||
workflow-cleanup:
|
|
||||||
uses: nikhilbadyal/ghactions/.github/workflows/github-workflow-cleaner.yml@main
|
|
||||||
secrets:
|
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
||||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
|
||||||
Reference in New Issue
Block a user