forked from decidim/decidim
-
Notifications
You must be signed in to change notification settings - Fork 4
68 lines (64 loc) · 1.7 KB
/
brakeman.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: "[CI] Brakeman"
on:
push:
branches:
- develop
- release/*
- "*-stable"
pull_request:
branches-ignore:
- "chore/l10n*"
env:
CI: "true"
RUBY_VERSION: 3.2.2
NODE_VERSION: 18.17.1
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326
SHAKAPACKER_RUNTIME_COMPILE: "false"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
brakeman:
strategy:
fail-fast: false
matrix:
working-directory:
- decidim-accountability
- decidim-admin
- decidim-api
- decidim-assemblies
- decidim-blogs
- decidim-budgets
- decidim-comments
- decidim-conferences
- decidim-core
- decidim-debates
- decidim-dev
- decidim-forms
- decidim-initiatives
- decidim-meetings
- decidim-pages
- decidim-participatory_processes
- decidim-proposals
- decidim-sortitions
- decidim-surveys
- decidim-system
- decidim-templates
- decidim-verifications
runs-on: ubuntu-latest
name: ${{ matrix.working-directory }}
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- run: bundle exec brakeman --rails6 --force-scan .
name: Scanning Security issues on module
working-directory: ${{ matrix.working-directory }}
shell: "bash"