Merge pull request #2764 from OpenRefine/thadguidry-patch-delete-older-releases

Add new option for deleting tags associated to releases
This commit is contained in:
Antonin Delpeuch 2020-06-21 08:21:11 +02:00 committed by GitHub
commit 0119cfd0d6
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 }}