-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔒 Update config file(s) managedy by ghsec (#20)
* Update SAST config * Update Renovate config * Update Close Stale PRs config --------- Co-authored-by: moonpay-github-security[bot] <115715540+moonpay-github-security[bot]@users.noreply.github.com>
- Loading branch information
1 parent
3aad040
commit 8e76399
Showing
3 changed files
with
71 additions
and
32 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 |
---|---|---|
@@ -1,36 +1,45 @@ | ||
# This is an automatically generated file, please do not edit! | ||
# If you want to make any changes see: https://github.com/moonpay/ghsec | ||
|
||
name: CodeQL | ||
name: 'CodeQL' | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- test/** | ||
- tests/** | ||
- '**/*.test.ts' | ||
- '**/*.md' | ||
- '**/*.txt' | ||
branches: [main] | ||
pull_request: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- test/** | ||
- tests/** | ||
- '**/*.test.ts' | ||
- '**/*.md' | ||
- '**/*.txt' | ||
# The branches below must be a subset of the branches above | ||
branches: [main] | ||
schedule: | ||
- cron: 45 2 * * 3 | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
- cron: '0 9 * * 1' | ||
|
||
jobs: | ||
analyze: | ||
if: ${{ github.actor != 'renovate[bot]' }} | ||
uses: moonpay/ghsec/.github/workflows/codeql-analysis-shared.yml@v1.0.0 | ||
secrets: inherit | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
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 |
---|---|---|
@@ -1,6 +1,35 @@ | ||
{ | ||
"description": "This is an automatically generated file, please do not edit! If you want to make any changes see: https://github.com/moonpay/ghsec", | ||
"extends": [ | ||
"github\u003emoonpay/ghsec//config/shared/renovate/default" | ||
] | ||
"description" : "This is an automatically generated file, please do not edit!", | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"schedule": ["before 7am every weekday"], | ||
"timezone": "Europe/London", | ||
"extends": [ | ||
"config:recommended" | ||
], | ||
"labels": ["⬆️ Dependencies"], | ||
"packageRules": [ | ||
{ | ||
"enabled": false, | ||
"matchPackagePatterns": ["*"] | ||
} | ||
], | ||
"ignorePaths": [ | ||
"**/node_modules/**", | ||
"**/bower_components/**", | ||
"**/vendor/**", | ||
"**/examples/**", | ||
"**/__fixtures__/**" | ||
], | ||
"vulnerabilityAlerts": { | ||
"enabled": true, | ||
"reviewers": [ | ||
"team:product-security-team" | ||
], | ||
"labels": [ | ||
"🔒 Security" | ||
], | ||
"schedule": "at any time", | ||
"rebaseWhen": "conflicted" | ||
}, | ||
"osvVulnerabilityAlerts": true | ||
} |