Skip to content

Commit

Permalink
Merge pull request #275 from Checkmarx/elchanan/fix/delete-tag-pattern
Browse files Browse the repository at this point in the history
Fix tag pattern to correctly delete specified tag
  • Loading branch information
OrShamirCM authored Sep 11, 2024
2 parents c3860b8 + a3dd45c commit 1a95dcb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/delete-dev-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ jobs:
delete:
runs-on: ubuntu-latest
steps:

- name: Delete releases and tags
continue-on-error: true
uses: dev-drprasad/[email protected]
uses: dev-drprasad/delete-older-releases@653dc03d96473ac9e585c68c8bf5aaccb0dadb61 #v0.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
keep_latest: 0
delete_tag_pattern: "-${{inputs.tag}}"
delete_tag_pattern: "${{ inputs.tag }}"
delete_tags: true

0 comments on commit 1a95dcb

Please sign in to comment.