From 967a03edcd0a938196cc04482f524909d0b3ab26 Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Tue, 11 May 2021 18:27:33 +0300 Subject: [PATCH] Add manual trigger for CI workflow --- .github/workflows/pythonapp.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index d1a52cb0af..cfdd4bbee0 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -1,6 +1,14 @@ name: cve-bin-tool -on: [push, pull_request] +on: + push: + pull_request: + workflow_dispatch: + inputs: + longTests: + description: 'Set true to run long tests manually' + required: false + default: 'false' jobs: isort: @@ -153,6 +161,7 @@ jobs: path: ~/.cache/cve-bin-tool key: ${{ runner.os }}-cve-bin-tool-${{ steps.get-date.outputs.date }} - uses: technote-space/get-diff-action@v4 + if: ${{ github.event.inputs.longTests != 'true' }} with: PATTERNS: | cve_bin_tool/checkers/*.py