FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Enable Renovate automerge by carole-lavillonniere · Pull Request #109 · localstack/lambda-runtime-init · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .json  (1) .yml  (1) All 2 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
33 changes: 33 additions & 0 deletions .github/workflows/trivy.yml
This file contains hidden or 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,33 @@
name: Trivy Dependency Scan

# Quality gate for dependency bumps (incl. Renovate automerge): fail the PR if a
# changed dependency pulls in a known HIGH/CRITICAL vulnerability, so we never ship
# an update with a known issue.

on:
push:
branches: [localstack]
pull_request:
branches: [localstack]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
trivy-fs:
name: Scan go.mod for known CVEs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7

- name: Run Trivy filesystem scan
uses: aquasecurity/trivy-action@v0.36.0
with:
scan-type: fs
scanners: vuln
severity: HIGH,CRITICAL
# Skip CVEs with no fix available, otherwise an unfixable upstream CVE would
# permanently block every merge until a patch exists.
ignore-unfixed: true
exit-code: "1"
31 changes: 27 additions & 4 deletions renovate.json
This file contains hidden or 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
Expand Up @@ -4,24 +4,47 @@
"config:recommended"
],
"postUpdateOptions": ["gomodTidy"],
"platformAutomerge": true,
"automergeStrategy": "squash",
"minimumReleaseAge": "3 days",
"internalChecksFilter": "strict",
"packageRules": [
{
"matchManagers": ["gomod"],
"matchDepTypes": ["golang"],
"rangeStrategy": "bump",
"groupName": "Go toolchain"
"groupName": "Go toolchain",
"automerge": true
},
{
"matchManagers": ["gomod"],
"excludePackageNames": ["go"],
"matchUpdateTypes": ["minor", "patch"],
"groupName": "Go dependencies (non-major)"
"groupName": "Go dependencies (non-major)",
"automerge": true
},
{
"matchManagers": ["gomod"],
"excludePackageNames": ["go"],
"matchUpdateTypes": ["major"],
"enabled": false
"enabled": false,
"automerge": false
},
{
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"automerge": true
},
{
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["major"],
"automerge": false
}
]
],
"vulnerabilityAlerts": {
"groupName": null,
"automerge": true,
"labels": ["security"],
"minimumReleaseAge": "0"
}
}

Back | FazBrowse Home | New Git URL