Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔒 Update config file(s) managedy by ghsec #20

Merged
merged 3 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/close-stale-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ jobs:
- uses: actions/stale@v8
with:
stale-pr-message: This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
close-pr-message: This PR was closed because it has been inactive for 7 days.
days-before-stale: "60"
days-before-close: "7"
65 changes: 37 additions & 28 deletions .github/workflows/codeql-analysis.yml
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
37 changes: 33 additions & 4 deletions renovate.json
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
}
Loading