hedgedoc/renovate.json
Erik Michelson 1f1231a730
Some checks failed
E2E Tests / backend-sqlite (push) Has been cancelled
Static Analysis / CodeQL analysis (javascript) (push) Has been cancelled
Run tests & build / Test and build with NodeJS ${{ matrix.node }} (true, 20) (push) Has been cancelled
Docker / build-and-push (backend) (push) Has been cancelled
Docker / build-and-push (frontend) (push) Has been cancelled
Deploy HD2 docs to Netlify / Deploys to netlify (push) Has been cancelled
E2E Tests / backend-mariadb (push) Has been cancelled
E2E Tests / backend-postgres (push) Has been cancelled
E2E Tests / Build test build of frontend (push) Has been cancelled
Lint and check format / Lint files and check formatting (push) Has been cancelled
REUSE Compliance Check / reuse (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Static Analysis / Njsscan code scanning (push) Has been cancelled
E2E Tests / frontend-cypress (1) (push) Has been cancelled
E2E Tests / frontend-cypress (2) (push) Has been cancelled
E2E Tests / frontend-cypress (3) (push) Has been cancelled
ci: remove netlify deployment workflow
This workflow was used in an early stage of development of HedgeDoc 2.
It allowed the core developers to quickly check fixes, improvements or
new features to the HedgeDoc UI without the requirement to check-out
the branch locally. As not every pull request required a deployment,
this workflow was only triggered when the "ci: force deployment"
label was added. Since some time already, the frontend and backend
are so tightly coupled that the netfliy deployment doesn't make any
sense anymore and therefore hasn't been used anymore. This commit
therefore removes this leftover workflow.

@RedYetiDev contacted us privately and reported that this deployment
workflow could have been abused to invoke arbitrary commands, including
extraction of environment variables which include our tokens for the
turborepo build cache or the netlify deployment token. For this it
would have been required that somebody created a "safe" pull request,
which would have been labelled with the deployment label and then
changed afterwards since the workflow checks out the pull request
source repository, not the target. We assured that the label was only
added to pull requests from trusted members of the HedgeDoc core team.
There was never any malicious use of the workflow. Furthermore, no
released versions of HedgeDoc (1.x) could have been affected by this,
even in the worst-case scenario.

We're thankful for putting this risk at our attention!
If you too encounter something unusual regarding security in HedgeDoc
itself or our toolchain around it, don't hesitate to contact us.
Details on this are wriiten in our SECURITY.md in the root of the
repository.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-07-30 08:48:38 +02:00

120 lines
2.5 KiB
JSON

{
"extends": [
"config:js-app",
"group:definitelyTyped",
"group:socketio",
"group:linters",
"group:test",
"group:reactMonorepo",
"group:typescript-eslintMonorepo",
"docker:enableMajor",
"docker:pinDigests",
"default:automergeDigest",
":gitSignOff",
":prHourlyLimitNone",
":maintainLockFilesWeekly",
":automergePatch",
":separateMajorReleases"
],
"baseBranches": [
"master",
"develop"
],
"labels": [
"type: maintenance"
],
"ignorePaths": [
"docker/docker-compose.yml"
],
"packageRules": [
{
"groupName": "NestJS packages",
"packagePatterns": [
"^@nestjs/"
]
},
{
"groupName": "Graphviz",
"packagePatterns": [
"d3-graphviz",
"@hpcc-js/wasm"
]
},
{
"groupName": "cypress",
"matchPackagePatterns": [
"^@cypress",
"^cypress"
]
},
{
"groupName": "vega",
"packagePatterns": [
"vega",
"vega-embed",
"vega-lite"
]
},
{
"groupName": "i18next",
"matchPackagePatterns": [
"i18next",
"i18next-browser-languagedetector",
"i18next-http-backend",
"react-i18next"
]
},
{
"groupName": "CodeMirror",
"matchPackagePatterns": [
"^@codemirror/",
"@uiw/react-codemirror"
]
},
{
"groupName": "testing-library",
"matchPackagePatterns": [
"^@testing-library/"
]
},
{
"groupName": "zxcvbn-ts",
"matchPackagePatterns": [
"^@zxcvbn-ts/"
]
}
],
"regexManagers": [
{
"fileMatch": [
"\\.yml$",
"\\.yaml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+\\S+:\\s+\"?(?<currentValue>[^\"]*?)\"?\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"fileMatch": [
"package.json"
],
"matchStrings": [
"yjs@(?:npm%3A)?(?<currentValue>[\\d\\.]+)"
],
"datasourceTemplate": "npm",
"depNameTemplate": "yjs"
},
{
"fileMatch": [
"package.json"
],
"matchStrings": [
"@dicebear/converter@(?:npm%3A)?(?<currentValue>[\\d\\.]+)"
],
"datasourceTemplate": "npm",
"depNameTemplate": "@dicebear/converter"
}
]
}