mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-22 20:21:42 +00:00
1f1231a730
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>
120 lines
2.5 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|