diff --git a/.github/workflows/delete_releases.yml b/.github/workflows/delete_releases.yml deleted file mode 100644 index 456302b..0000000 --- a/.github/workflows/delete_releases.yml +++ /dev/null @@ -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 }}