Files
cbsnexora-backend/renovate.json
T
NaveenandAleksandar Vidakovic 69a900492c chore: renovate bot setting to pin actions to a full length commit SHA
- https://docs.renovatebot.com/modules/manager/github-actions/#additional-information

- Pinned actions by SHA https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies

>Pin actions to a full length commit SHA

>Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.
> Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository,
> as they would need to generate a SHA-1 collision for a valid Git object payload.

- https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
- https://github.com/renovatebot/.github/blob/b0c3aa85ef2bb242580f20b02b380ca532b4ce17/default.json#L13
2022-05-20 19:31:21 +02:00

39 lines
1.0 KiB
JSON

{
"extends": [
"config:base",
"group:allNonMajor",
"schedule:weekly",
"helpers:pinGitHubActionDigests"
],
"ignorePaths": [
"docs/**"
],
"labels": ["renovate"],
"packageRules": [{
"description": "Limit the aws sdk to monthly updates because otherwise it PRs every day",
"packageNames": ["com.amazonaws:*"],
"schedule": ["monthly"]
},
{
"matchPackageNames": ["org.eclipse.persistence:eclipselink"],
"allowedVersions": "<=2.7.10"
},
{
"matchPackageNames": ["org.eclipse.persistence:org.eclipse.persistence.jpa"],
"allowedVersions": "<=2.7.10"
},
{
"depTypeList": ["dependencies"],
"updateTypes": ["patch", "minor"],
"groupName": "non-major"
}],
"regexManagers": [
{
"fileMatch": ["^build\\.gradle$"],
"matchStrings": ["[\\s\\n{](mavenBom)\\s*['\"](?<depName>[a-zA-Z][-_a-zA-Z0-9.]*?:[a-zA-Z][-_a-zA-Z0-9.]*?):(?<currentValue>[a-zA-Z0-9][-.a-zA-Z0-9]*?)['\"]"],
"datasourceTemplate": "maven",
"versioningTemplate": "gradle"
}
]
}