mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +00:00
chore(release): 40.0.1 [skip ci]
This commit is contained in:
parent
9f224e1f6e
commit
0fae6f7e1a
2 changed files with 24 additions and 17 deletions
39
dist/index.js
vendored
39
dist/index.js
vendored
|
|
@ -25940,6 +25940,9 @@ exports["default"] = _default;
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
class Docker {
|
class Docker {
|
||||||
|
static image = 'ghcr.io/renovatebot/renovate';
|
||||||
|
dockerImage;
|
||||||
|
fullTag;
|
||||||
constructor(input) {
|
constructor(input) {
|
||||||
const tag = input.getVersion();
|
const tag = input.getVersion();
|
||||||
this.dockerImage = input.getDockerImage() ?? Docker.image;
|
this.dockerImage = input.getDockerImage() ?? Docker.image;
|
||||||
|
|
@ -25949,7 +25952,6 @@ class Docker {
|
||||||
return `${this.dockerImage}:${this.fullTag}`;
|
return `${this.dockerImage}:${this.fullTag}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Docker.image = 'ghcr.io/renovatebot/renovate';
|
|
||||||
exports["default"] = Docker;
|
exports["default"] = Docker;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -26042,20 +26044,23 @@ exports.Input = void 0;
|
||||||
const core = __importStar(__nccwpck_require__(2186));
|
const core = __importStar(__nccwpck_require__(2186));
|
||||||
const path_1 = __importDefault(__nccwpck_require__(1017));
|
const path_1 = __importDefault(__nccwpck_require__(1017));
|
||||||
class Input {
|
class Input {
|
||||||
|
options = {
|
||||||
|
envRegex: /^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$/,
|
||||||
|
configurationFile: {
|
||||||
|
input: 'configurationFile',
|
||||||
|
env: 'RENOVATE_CONFIG_FILE',
|
||||||
|
optional: true,
|
||||||
|
},
|
||||||
|
token: {
|
||||||
|
input: 'token',
|
||||||
|
env: 'RENOVATE_TOKEN',
|
||||||
|
optional: false,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
token;
|
||||||
|
_environmentVariables;
|
||||||
|
_configurationFile;
|
||||||
constructor() {
|
constructor() {
|
||||||
this.options = {
|
|
||||||
envRegex: /^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$/,
|
|
||||||
configurationFile: {
|
|
||||||
input: 'configurationFile',
|
|
||||||
env: 'RENOVATE_CONFIG_FILE',
|
|
||||||
optional: true,
|
|
||||||
},
|
|
||||||
token: {
|
|
||||||
input: 'token',
|
|
||||||
env: 'RENOVATE_TOKEN',
|
|
||||||
optional: false,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
const envRegexInput = core.getInput('env-regex');
|
const envRegexInput = core.getInput('env-regex');
|
||||||
const envRegex = envRegexInput
|
const envRegex = envRegexInput
|
||||||
? new RegExp(envRegexInput)
|
? new RegExp(envRegexInput)
|
||||||
|
|
@ -26148,9 +26153,12 @@ const exec_1 = __nccwpck_require__(1514);
|
||||||
const fs_1 = __importDefault(__nccwpck_require__(7147));
|
const fs_1 = __importDefault(__nccwpck_require__(7147));
|
||||||
const path_1 = __importDefault(__nccwpck_require__(1017));
|
const path_1 = __importDefault(__nccwpck_require__(1017));
|
||||||
class Renovate {
|
class Renovate {
|
||||||
|
input;
|
||||||
|
static dockerGroupRegex = /^docker:x:(?<groupId>[1-9][0-9]*):/m;
|
||||||
|
configFileMountDir = '/github-action';
|
||||||
|
docker;
|
||||||
constructor(input) {
|
constructor(input) {
|
||||||
this.input = input;
|
this.input = input;
|
||||||
this.configFileMountDir = '/github-action';
|
|
||||||
this.validateArguments();
|
this.validateArguments();
|
||||||
this.docker = new docker_1.default(input);
|
this.docker = new docker_1.default(input);
|
||||||
}
|
}
|
||||||
|
|
@ -26228,7 +26236,6 @@ class Renovate {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Renovate.dockerGroupRegex = /^docker:x:(?<groupId>[1-9][0-9]*):/m;
|
|
||||||
exports["default"] = Renovate;
|
exports["default"] = Renovate;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "github-action",
|
"name": "github-action",
|
||||||
"version": "40.0.0",
|
"version": "40.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "GitHub Action to run Renovate self-hosted.",
|
"description": "GitHub Action to run Renovate self-hosted.",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue