From f570012155988c0fcfe4b37da638ded71b7c0831 Mon Sep 17 00:00:00 2001 From: Dwi Siswanto Date: Thu, 3 Dec 2026 19:50:18 +0700 Subject: [PATCH] ci: release with the reusable auto-release workflow Release dependency updates. svu-next bumps the version here only for feat, fix, and breaking commits, so the three chore(deps) commits since v0.1.1 are unreleased. Each weekly run after the one that released v0.1.1 on 2026-11-08 has logged "Current tag is already v0.1.1, skipping." Replace the steps in bump-version.yaml with a call to auto-release from projectdiscovery/workflows. It releases whenever files outside .github changed since the latest v* tag, bumping at least the patch. utils fixed the same problem this way in projectdiscovery/utils#765. With the commits on main today, the next scheduled run releases v0.1.2. The call keeps the weekly schedule, the manual trigger, and v0: true. A manual run releases only from main, and a failed tag or release fails the run instead of logging a warning. Closes: #54 Refs: projectdiscovery/workflows#9 Signed-off-by: Dwi Siswanto --- .github/workflows/bump-version.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/bump-version.yaml b/.github/workflows/bump-version.yaml index 3f519f0..5dec084 100644 --- a/.github/workflows/bump-version.yaml +++ b/.github/workflows/bump-version.yaml @@ -6,14 +6,9 @@ on: workflow_dispatch: jobs: - bump: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: projectdiscovery/actions/setup/git@v1 - - uses: projectdiscovery/actions/svu-next@v1 - with: - v0: true - release-create: true + release: + uses: projectdiscovery/workflows/.github/workflows/auto-release.yaml@v1 + permissions: + contents: write + with: + v0: true