-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from GSA/7/add-brakeman-and-code-climate
[7] Add Brakeman and Code Climate
- Loading branch information
Showing
25 changed files
with
585 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: '2' | ||
plugins: | ||
brakeman: | ||
enabled: true | ||
rubocop: | ||
enabled: true | ||
channel: rubocop-1-48-1 | ||
exclude_patterns: | ||
- .nix-bundler | ||
- config/ | ||
- db/ | ||
- vendor/ | ||
- "**/vendor/**/*" | ||
- app/assets/images/ | ||
- app/assets/stylesheets/uswds.css | ||
- app/assets/stylesheets/uswds_override.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: bundler | ||
directory: "/" | ||
target-branch: "production" | ||
schedule: | ||
interval: weekly | ||
ignore: | ||
- dependency-name: "rails" | ||
versions: ["~> 6.0.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
- staging | ||
- production | ||
pull_request: | ||
branches: | ||
- dev | ||
- staging | ||
- production | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '20.14.0' | ||
|
||
- name: Install Snyk | ||
run: npm install -g snyk | ||
|
||
- name: Authenticate Snyk | ||
run: snyk auth ${{ secrets.SNYK_TOKEN }} | ||
|
||
- name: Run Snyk to check for vulnerabilities | ||
run: snyk test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,5 @@ | |
|
||
# Ignore master key for decrypting credentials and more. | ||
/config/master.key | ||
|
||
/coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--require spec_helper |
Oops, something went wrong.