diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8c949b164..78b45f919 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,6 +28,11 @@ jobs: run: | sha256sum geoip.db > geoip.db.sha256sum sha256sum geoip-cn.db > geoip-cn.db.sha256sum + - uses: dev-drprasad/delete-older-releases@v0.3.2 + with: + keep_latest: 3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create a release if: steps.build.outputs.skip != 'true' id: create_release