Skip to content

Commit c742a4c

Browse files
o-200aaronskiba
authored andcommitted
configure brakeman
1 parent 447636f commit c742a4c

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.github/workflows/brakeman.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
name: Brakeman
22

33
on:
4-
pull_request:
5-
branches:
6-
master
4+
push:
5+
branches: main
76

87
jobs:
98
brakeman:
10-
119
runs-on: ubuntu-24.04
1210

1311
steps:
14-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v2
1513

16-
# Will run Brakeman checks on dependencies
17-
# https://github.com/marketplace/actions/brakeman-action
18-
- name: Brakeman
19-
uses: artplan1/[email protected]
20-
with:
21-
flags: "--color"
22-
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
# Will run Brakeman checks on dependencies
15+
# https://github.com/marketplace/actions/brakeman-action
16+
- name: Brakeman
17+
uses: artplan1/[email protected]
18+
with:
19+
flags: "--color"
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## DMP Roadmap
22

3-
[![Actions Status](https://github.com/DMPRoadmap/roadmap/workflows/Brakeman/badge.svg)](https://github.com/DMPRoadmap/roadmap/actions)
3+
[![Actions Status](https://github.com/DMPRoadmap/roadmap/workflows/Brakeman/badge.svg?branch=main)](https://github.com/DMPRoadmap/roadmap/actions/workflows/brakeman.yml)
44
[![Actions Status](https://github.com/DMPRoadmap/roadmap/workflows/Rubocop/badge.svg)](https://github.com/DMPRoadmap/roadmap/actions)
55
[![Actions Status](https://github.com/DMPRoadmap/roadmap/workflows/ESLint/badge.svg)](https://github.com/DMPRoadmap/roadmap/actions)
66
[![Actions Status](https://github.com/DMPRoadmap/roadmap/workflows/Tests%20-%20PostgreSQL/badge.svg)](https://github.com/DMPRoadmap/roadmap/actions)

0 commit comments

Comments
 (0)