diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 43e061cb0..8a2e180e0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,4 +58,9 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./geosite.db.sha256sum asset_name: geosite.db.sha256sum - asset_content_type: text/plain \ No newline at end of file + asset_content_type: text/plain + - uses: dev-drprasad/delete-older-releases@v0.3.2 + with: + keep_latest: 3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file