Skip to content

Commit

Permalink
Enables workflow dispatch for clang and scan_builds. (#312)
Browse files Browse the repository at this point in the history
Signed-off-by: Franco Cipollone <[email protected]>
  • Loading branch information
francocipollone authored Nov 6, 2023
1 parent f057d1a commit 76d27aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
compile_and_test:
if: ${{ contains(github.event.pull_request.labels.*.name, 'do-clang-test') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'do-clang-test') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}
name: Compile and test with sanitizer
runs-on: ubuntu-latest
container:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
static_analysis:
if: ${{ contains(github.event.pull_request.labels.*.name, 'do-static-analyzer-test') || github.event_name == 'schedule' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'do-static-analyzer-test') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}}
name: Static analysis
runs-on: ubuntu-latest
container:
Expand Down

0 comments on commit 76d27aa

Please sign in to comment.