Skip to content

Commit

Permalink
Adds scan build workflow on specific label (#38)
Browse files Browse the repository at this point in the history
* Restores scan-build workflow.

* Makes scan-build worflow to run when the right label is added.
  • Loading branch information
agalbachicar authored Mar 18, 2021
1 parent 78bf499 commit 07bf956
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: scan_build

on:
push:
branches:
- master
pull_request:
types: [labeled]

env:
PACKAGE_NAME: maliput_dragway
Expand All @@ -13,6 +11,7 @@ env:

jobs:
static_analysis:
if: contains(github.event.pull_request.labels.*.name, 'do-static-analyzer-test')
name: Static analysis
runs-on: ubuntu-18.04
container:
Expand Down

0 comments on commit 07bf956

Please sign in to comment.