diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 536848b..fff462d 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -1,10 +1,12 @@ name: CI on: - push: - push: - tags: - - 'bench-*' + workflow_dispatch: + inputs: + run_benchmark: + description: 'Run benchmark job' + type: boolean + default: true concurrency: group: bench-${{ github.ref }} @@ -23,8 +25,7 @@ jobs: - run: bun test benchmark: - if: startsWith(github.ref, 'refs/tags/perf-') - needs: test + if: (github.event_name == 'workflow_dispatch' && inputs.run_benchmark) runs-on: ubuntu-bun-deno strategy: matrix: