Delete delete_releases.yml
This commit is contained in:
parent
992b7a9374
commit
f8b8247b26
1 changed files with 0 additions and 30 deletions
30
.github/workflows/delete_releases.yml
vendored
30
.github/workflows/delete_releases.yml
vendored
|
@ -1,30 +0,0 @@
|
||||||
name: Delete Releases
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
tagPattern:
|
|
||||||
description: 'Tag pattern'
|
|
||||||
required: true
|
|
||||||
default: 'v1'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
delete:
|
|
||||||
name: Delete
|
|
||||||
runs-on: windows-latest
|
|
||||||
if: ${{ github.event.repository.owner.id }} == ${{ github.event.sender.id }}
|
|
||||||
|
|
||||||
permissions: write-all
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Delete
|
|
||||||
uses: dev-drprasad/delete-older-releases@v0.2.1
|
|
||||||
with:
|
|
||||||
keep_latest: 0
|
|
||||||
delete_tags: true
|
|
||||||
delete_tag_pattern: ${{ github.event.inputs.tagPattern }}
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
Loading…
Reference in a new issue