Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Adding static code analysis orb to run Brakeman scans and reports #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
version: 2.1
orbs:
static-code-analysis: appfolio/static-code-analysis@volatile

jobs:
build-and-test:
docker:
Expand Down Expand Up @@ -67,6 +70,22 @@ jobs:
workflows:
version: 2.1
rc:
when:
not:
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
jobs:
- build-and-test:
context: appfolio_test_context
nightly-static-code-security-analysis:
# Configure trigger at https://app.circleci.com/settings/project/github/appfolio/ladle/triggers
when:
and:
- equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
- equal: [ "Nightly static code security analysis", << pipeline.schedule.name >> ]
jobs:
- static-code-analysis/scan:
context: appfolio_static-code-analysis
- static-code-analysis/report:
context: appfolio_static-code-analysis
requires:
- static-code-analysis/scan