mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-26 12:33:37 +00:00
Merge branch 'main' into renovate/migrate-config
This commit is contained in:
commit
f5f4b7806b
7 changed files with 703 additions and 656 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -10,7 +10,7 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RENOVATE_VERSION: 40.7.1 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
|
RENOVATE_VERSION: 41.34.1 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
20.19.1
|
20.19.3
|
||||||
|
|
|
||||||
34
README.md
34
README.md
|
|
@ -100,7 +100,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
docker-cmd-file: .github/renovate-entrypoint.sh
|
docker-cmd-file: .github/renovate-entrypoint.sh
|
||||||
docker-user: root
|
docker-user: root
|
||||||
|
|
@ -143,7 +143,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
docker-volumes: |
|
docker-volumes: |
|
||||||
|
|
@ -194,7 +194,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
renovate-image: myproxyhub.domain.com/renovate/renovate
|
renovate-image: myproxyhub.domain.com/renovate/renovate
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
@ -211,7 +211,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
@ -222,7 +222,7 @@ The Renovate version to use.
|
||||||
If omitted the action will use the [`default version`](./action.yml#L28) Docker tag.
|
If omitted the action will use the [`default version`](./action.yml#L28) Docker tag.
|
||||||
Check [the available tags on Docker Hub](https://hub.docker.com/r/renovate/renovate/tags).
|
Check [the available tags on Docker Hub](https://hub.docker.com/r/renovate/renovate/tags).
|
||||||
|
|
||||||
This sample will use `ghcr.io/renovatebot/renovate:40.3.1` image.
|
This sample will use `ghcr.io/renovatebot/renovate:41.32.1` image.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
....
|
....
|
||||||
|
|
@ -233,9 +233,9 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
renovate-version: 40.3.1
|
renovate-version: 41.32.1
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -250,7 +250,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
renovate-version: full
|
renovate-version: full
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
@ -285,7 +285,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
@ -298,7 +298,7 @@ If you want to use the Renovate Action on a GitHub Enterprise instance you have
|
||||||
```yml
|
```yml
|
||||||
....
|
....
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
@ -345,7 +345,7 @@ jobs:
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: '${{ steps.get_token.outputs.token }}'
|
token: '${{ steps.get_token.outputs.token }}'
|
||||||
|
|
@ -360,7 +360,7 @@ For example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
token: '${{ steps.get_token.outputs.token }}'
|
token: '${{ steps.get_token.outputs.token }}'
|
||||||
env:
|
env:
|
||||||
|
|
@ -384,7 +384,7 @@ For example if you wish to pass through some credentials for a [host rule](https
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
@ -421,7 +421,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
@ -512,11 +512,11 @@ jobs:
|
||||||
sudo chown -R 12021:0 /tmp/renovate/
|
sudo chown -R 12021:0 /tmp/renovate/
|
||||||
ls -R $cache_dir
|
ls -R $cache_dir
|
||||||
|
|
||||||
- uses: renovatebot/github-action@v42.0.0
|
- uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
configurationFile: renovate.json5
|
configurationFile: renovate.json5
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
renovate-version: 40.3.1
|
renovate-version: 41.32.1
|
||||||
env:
|
env:
|
||||||
# This enables the cache -- if this is set, it's not necessary to add it to renovate.json.
|
# This enables the cache -- if this is set, it's not necessary to add it to renovate.json.
|
||||||
RENOVATE_REPOSITORY_CACHE: ${{ github.event.inputs.repoCache || 'enabled' }}
|
RENOVATE_REPOSITORY_CACHE: ${{ github.event.inputs.repoCache || 'enabled' }}
|
||||||
|
|
@ -550,7 +550,7 @@ To enable debug logging, add the environment variable `LOG_LEVEL: 'debug'` to th
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v42.0.0
|
uses: renovatebot/github-action@v43.0.3
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ inputs:
|
||||||
description: |
|
description: |
|
||||||
Renovate version to use.
|
Renovate version to use.
|
||||||
required: false
|
required: false
|
||||||
default: '40' # renovate
|
default: '41' # renovate
|
||||||
renovate-image:
|
renovate-image:
|
||||||
description: |
|
description: |
|
||||||
Renovate docker image name.
|
Renovate docker image name.
|
||||||
|
|
|
||||||
36
package.json
36
package.json
|
|
@ -20,11 +20,11 @@
|
||||||
"clean": "rimraf dist/",
|
"clean": "rimraf dist/",
|
||||||
"compile": "node tools/compile.js",
|
"compile": "node tools/compile.js",
|
||||||
"lint": "run-s lint-es prettier",
|
"lint": "run-s lint-es prettier",
|
||||||
"lint:fix": "run-s lint-es:fix prettier-fix",
|
|
||||||
"lint-es": "eslint .",
|
"lint-es": "eslint .",
|
||||||
"lint-es:file": "eslint",
|
"lint-es:file": "eslint",
|
||||||
"lint-es:file:fix": "eslint --fix",
|
"lint-es:file:fix": "eslint --fix",
|
||||||
"lint-es:fix": "eslint --fix .",
|
"lint-es:fix": "eslint --fix .",
|
||||||
|
"lint:fix": "run-s lint-es:fix prettier-fix",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"prettier": "prettier --cache --check --ignore-unknown \"{**/*,*}.*\"",
|
"prettier": "prettier --cache --check --ignore-unknown \"{**/*,*}.*\"",
|
||||||
"prettier-fix": "prettier --cache --write --ignore-unknown \"{**/*,*}.*\"",
|
"prettier-fix": "prettier --cache --write --ignore-unknown \"{**/*,*}.*\"",
|
||||||
|
|
@ -37,33 +37,33 @@
|
||||||
"@actions/exec": "1.1.1"
|
"@actions/exec": "1.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "19.8.0",
|
"@commitlint/cli": "19.8.1",
|
||||||
"@commitlint/config-conventional": "19.8.0",
|
"@commitlint/config-conventional": "19.8.1",
|
||||||
"@eslint/js": "9.25.1",
|
"@eslint/js": "9.30.1",
|
||||||
"@semantic-release/git": "10.0.1",
|
"@semantic-release/git": "10.0.1",
|
||||||
"@semantic-release/github": "11.0.2",
|
"@semantic-release/github": "11.0.3",
|
||||||
"@semantic-release/npm": "12.0.1",
|
"@semantic-release/npm": "12.0.2",
|
||||||
"@tsconfig/node20": "20.1.5",
|
"@tsconfig/node20": "20.1.6",
|
||||||
"@tsconfig/strictest": "2.0.5",
|
"@tsconfig/strictest": "2.0.5",
|
||||||
"@types/eslint-config-prettier": "6.11.3",
|
"@types/eslint-config-prettier": "6.11.3",
|
||||||
"@types/node": "20.17.32",
|
"@types/node": "20.19.4",
|
||||||
"conventional-changelog-conventionalcommits": "8.0.0",
|
"conventional-changelog-conventionalcommits": "8.0.0",
|
||||||
"esbuild": "0.25.3",
|
"esbuild": "0.25.6",
|
||||||
"eslint": "9.25.1",
|
"eslint": "9.30.1",
|
||||||
"eslint-config-prettier": "10.1.2",
|
"eslint-config-prettier": "10.1.5",
|
||||||
"eslint-plugin-json": "4.0.1",
|
"eslint-plugin-json": "4.0.1",
|
||||||
"globals": "16.0.0",
|
"globals": "16.3.0",
|
||||||
"husky": "9.1.7",
|
"husky": "9.1.7",
|
||||||
"lint-staged": "15.5.1",
|
"lint-staged": "15.5.2",
|
||||||
"npm-run-all2": "7.0.2",
|
"npm-run-all2": "7.0.2",
|
||||||
"prettier": "3.5.3",
|
"prettier": "3.6.2",
|
||||||
"prettier-plugin-packagejson": "2.5.10",
|
"prettier-plugin-packagejson": "2.5.18",
|
||||||
"rimraf": "6.0.1",
|
"rimraf": "6.0.1",
|
||||||
"semantic-release": "24.2.3",
|
"semantic-release": "24.2.6",
|
||||||
"typescript": "5.8.3",
|
"typescript": "5.8.3",
|
||||||
"typescript-eslint": "8.31.1"
|
"typescript-eslint": "8.36.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.10.0",
|
"packageManager": "pnpm@10.12.4",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^20.9.0 || ^22.11.0",
|
"node": "^20.9.0 || ^22.11.0",
|
||||||
"pnpm": "^10.0.0"
|
"pnpm": "^10.0.0"
|
||||||
|
|
|
||||||
1281
pnpm-lock.yaml
generated
1281
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -3,7 +3,7 @@ import { warning } from '@actions/core';
|
||||||
|
|
||||||
export class Docker {
|
export class Docker {
|
||||||
private static readonly image = 'ghcr.io/renovatebot/renovate';
|
private static readonly image = 'ghcr.io/renovatebot/renovate';
|
||||||
private static readonly version = '40'; // renovate
|
private static readonly version = '41'; // renovate
|
||||||
|
|
||||||
private readonly dockerImage: string;
|
private readonly dockerImage: string;
|
||||||
private readonly fullTag: string;
|
private readonly fullTag: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue