mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-27 12:43:37 +00:00
Remove cruft
This commit is contained in:
parent
76b5ba1d51
commit
a7069f6aaf
16 changed files with 2 additions and 3610 deletions
44
.eslintrc.js
44
.eslintrc.js
|
|
@ -1,44 +0,0 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
es2020: true,
|
||||
node: true,
|
||||
},
|
||||
plugins: ['@typescript-eslint', 'json'],
|
||||
rules: {
|
||||
'sort-imports': 'error',
|
||||
},
|
||||
ignorePatterns: [
|
||||
'.git/',
|
||||
'.vscode',
|
||||
'build/',
|
||||
'dist/',
|
||||
'coverage/',
|
||||
'LICENSE.md',
|
||||
'modules/',
|
||||
'node_modules/',
|
||||
'!.*',
|
||||
],
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.ts', '*.tsx', '*.js', '*.jsx'],
|
||||
parser: '@typescript-eslint/parser',
|
||||
parserOptions: {
|
||||
ecmaVersion: 2019,
|
||||
sourceType: 'module',
|
||||
project: ['./tsconfig.eslint.json'],
|
||||
},
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
||||
'prettier',
|
||||
],
|
||||
rules: {},
|
||||
},
|
||||
{
|
||||
files: ['*.json'],
|
||||
extends: ['plugin:json/recommended', 'prettier'],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
module.exports = {
|
||||
'*.{ts,tsx,js,jsx,json}': ['yarn lint-es:file:fix'],
|
||||
'*.{js,jsx,ts,tsx,md,yml,yaml,json}': ['yarn format:file'],
|
||||
};
|
||||
1
.npmrc
1
.npmrc
|
|
@ -1 +0,0 @@
|
|||
save-exact=true
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
.git/
|
||||
.vscode
|
||||
build/
|
||||
dist/
|
||||
coverage/
|
||||
LICENSE.md
|
||||
modules/
|
||||
node_modules/
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
module.exports = {
|
||||
scripts: {
|
||||
prerelease:
|
||||
'if [ "$(git branch --show-current)" != "release" ]; then exit 1; fi',
|
||||
},
|
||||
commitAll: true,
|
||||
};
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
# Changelog
|
||||
|
||||
## v0.1
|
||||
|
||||
* First attempt
|
||||
|
|
@ -8,12 +8,12 @@ See `.github/workflows/renovate.yml` for the workflow and `solr/` folder for cus
|
|||
|
||||
The bot will commit as user `SolrBot <solrbot@cominvent.com>`.
|
||||
|
||||
## Maintaining
|
||||
|
||||
**NOTE**: This is a volunteer community project organized by [@janhoy](https://github.com/janhoy), and not
|
||||
officially run by the Apache Solr PMC. However, Solr committers can enable/disable and re-configure how and when
|
||||
the project is scanned by this bot. See `dev-docs/dependency-upgrades.adoc` in the Solr project for details.
|
||||
|
||||
## Maintaining
|
||||
|
||||
If you want to help maintain this bot, start by filing an issue or PR. Solr committers can
|
||||
ask to be given direct commit access.
|
||||
|
||||
|
|
|
|||
31
action.yml
31
action.yml
|
|
@ -1,31 +0,0 @@
|
|||
name: 'Renovate Bot GitHub Action'
|
||||
description: 'GitHub Action to run self-hosted Renovate.'
|
||||
author: 'Jeroen de Bruijn'
|
||||
branding:
|
||||
icon: refresh-cw
|
||||
color: blue
|
||||
inputs:
|
||||
configurationFile:
|
||||
description: |
|
||||
Configuration file to configure Renovate. Either use this input or the
|
||||
'RENOVATE_CONFIG_FILE' environment variable.
|
||||
required: false
|
||||
token:
|
||||
description: |
|
||||
GitHub personal access token that Renovate should use. This should be
|
||||
configured using a Secret. Either use this input or the 'RENOVATE_TOKEN'
|
||||
environment variable.
|
||||
required: false
|
||||
useSlim:
|
||||
description: |
|
||||
Use a lightweight renovate container without any third-party binaries.
|
||||
Defaults to true if not set.
|
||||
required: false
|
||||
env-regex:
|
||||
description: |
|
||||
Override the environment variables which will be passsed into the renovate container.
|
||||
Defaults to `^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS)$`
|
||||
required: false
|
||||
runs:
|
||||
using: node16
|
||||
main: dist/index.js
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
};
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
module.exports = {
|
||||
branchPrefix: 'test-renovate/',
|
||||
username: 'renovate-release',
|
||||
gitAuthor: 'Renovate Bot <bot@renovateapp.com>',
|
||||
onboarding: false,
|
||||
platform: 'github',
|
||||
includeForks: true,
|
||||
dryRun: 'full',
|
||||
repositories: [
|
||||
'renovate-tests/cocoapods1',
|
||||
'renovate-tests/gomod1',
|
||||
],
|
||||
packageRules: [
|
||||
{
|
||||
description: 'lockFileMaintenance',
|
||||
matchUpdateTypes: [
|
||||
'pin',
|
||||
'digest',
|
||||
'patch',
|
||||
'minor',
|
||||
'major',
|
||||
'lockFileMaintenance',
|
||||
],
|
||||
dependencyDashboardApproval: false,
|
||||
stabilityDays: 0,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
"branchPrefix": "test-renovate/",
|
||||
"dryRun": true,
|
||||
"username": "renovate-release",
|
||||
"gitAuthor": "Renovate Bot <bot@renovateapp.com>",
|
||||
"onboarding": false,
|
||||
"platform": "github",
|
||||
"includeForks": true,
|
||||
"repositories": [
|
||||
"renovatebot/github-action",
|
||||
"renovate-tests/cocoapods1",
|
||||
"renovate-tests/gomod1"
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "lockFileMaintenance",
|
||||
"matchUpdateTypes": [
|
||||
"pin",
|
||||
"digest",
|
||||
"patch",
|
||||
"minor",
|
||||
"major",
|
||||
"lockFileMaintenance"
|
||||
],
|
||||
"dependencyDashboardApproval": false,
|
||||
"stabilityDays": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
60
package.json
60
package.json
|
|
@ -1,60 +0,0 @@
|
|||
{
|
||||
"name": "github-action",
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"description": "GitHub Action to run Renovate self-hosted.",
|
||||
"private": true,
|
||||
"main": "src/index.ts",
|
||||
"engines": {
|
||||
"node": " >=16.0.0",
|
||||
"yarn": "^1.22.0"
|
||||
},
|
||||
"scripts": {
|
||||
"format": "prettier --ignore-unknown --write \"**/*.*\"",
|
||||
"format:file": "prettier --write",
|
||||
"lint": "run-s lint-es",
|
||||
"lint:fix": "run-s lint-es:fix",
|
||||
"lint-es": "eslint .",
|
||||
"lint-es:file": "eslint",
|
||||
"lint-es:fix": "eslint --fix .",
|
||||
"lint-es:file:fix": "eslint --fix",
|
||||
"release:version": "ts-node src/get-version",
|
||||
"release:commit": "git add --force dist",
|
||||
"release:standard-version": "standard-version --release-as",
|
||||
"release": "run-s build release:commit \"release:standard-version -- {1}\" --",
|
||||
"build": "ncc build -o dist --target es2021",
|
||||
"start": "run-s build && node dist",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/renovatebot/github-action.git"
|
||||
},
|
||||
"author": "Jeroen de Bruijn",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"bugs": {
|
||||
"url": "https://github.com/renovatebot/github-action/issues"
|
||||
},
|
||||
"homepage": "https://github.com/renovatebot/github-action#readme",
|
||||
"dependencies": {
|
||||
"@actions/core": "1.10.0",
|
||||
"@actions/exec": "1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "17.4.2",
|
||||
"@commitlint/config-conventional": "17.4.2",
|
||||
"@types/node": "16.18.12",
|
||||
"@typescript-eslint/eslint-plugin": "5.51.0",
|
||||
"@typescript-eslint/parser": "5.51.0",
|
||||
"@vercel/ncc": "0.36.1",
|
||||
"eslint": "8.33.0",
|
||||
"eslint-config-prettier": "8.6.0",
|
||||
"eslint-plugin-json": "3.1.0",
|
||||
"husky": "8.0.3",
|
||||
"lint-staged": "13.1.1",
|
||||
"npm-run-all": "4.1.5",
|
||||
"prettier": "2.8.4",
|
||||
"standard-version": "9.5.0",
|
||||
"ts-node": "10.9.1",
|
||||
"typescript": "4.9.5"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["**/*.js", "**/*.ts", "**/*.d.ts", ".*.js"]
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2020",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"allowJs": true,
|
||||
"outDir": "dist"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue