Add new option for deleting tags associated to releases

Graciously, Reddy has added a new option for us to `delete_tags`
https://github.com/dev-drprasad/delete-older-releases#delete_tags
This commit is contained in:
Thad Guidry 2020-06-20 12:25:45 -05:00 committed by GitHub
parent f7cd8bef50
commit 6b2b38b41c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,11 @@ jobs:
uses: dev-drprasad/delete-older-releases@v0.1.0 uses: dev-drprasad/delete-older-releases@v0.1.0
with: with:
repo: OpenRefine/OpenRefine-nightly-releases repo: OpenRefine/OpenRefine-nightly-releases
# Specifies number of latest releases (sorted by created_at) to keep. Pass 0 if you want to delete all releases
keep_latest: 10 keep_latest: 10
# Specifies whether to delete tags associated to older releases or not.
# Older tags without any associated releases will not be deleted
delete_tags: true
env: env:
GITHUB_TOKEN: ${{ secrets.RELEASE_REPO_TOKEN }} GITHUB_TOKEN: ${{ secrets.RELEASE_REPO_TOKEN }}