mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-25 12:27:07 +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
|
||||
|
||||
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:
|
||||
prepare:
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
20.19.1
|
||||
20.19.3
|
||||
|
|
|
|||
34
README.md
34
README.md
|
|
@ -100,7 +100,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
docker-cmd-file: .github/renovate-entrypoint.sh
|
||||
docker-user: root
|
||||
|
|
@ -143,7 +143,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
docker-volumes: |
|
||||
|
|
@ -194,7 +194,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
renovate-image: myproxyhub.domain.com/renovate/renovate
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -211,7 +211,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
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.
|
||||
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
|
||||
....
|
||||
|
|
@ -233,9 +233,9 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
renovate-version: 40.3.1
|
||||
renovate-version: 41.32.1
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
||||
|
|
@ -250,7 +250,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
renovate-version: full
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -285,7 +285,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -298,7 +298,7 @@ If you want to use the Renovate Action on a GitHub Enterprise instance you have
|
|||
```yml
|
||||
....
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -345,7 +345,7 @@ jobs:
|
|||
uses: actions/checkout@v4.2.2
|
||||
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: '${{ steps.get_token.outputs.token }}'
|
||||
|
|
@ -360,7 +360,7 @@ For example:
|
|||
|
||||
```yaml
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
token: '${{ steps.get_token.outputs.token }}'
|
||||
env:
|
||||
|
|
@ -384,7 +384,7 @@ For example if you wish to pass through some credentials for a [host rule](https
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -421,7 +421,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -512,11 +512,11 @@ jobs:
|
|||
sudo chown -R 12021:0 /tmp/renovate/
|
||||
ls -R $cache_dir
|
||||
|
||||
- uses: renovatebot/github-action@v42.0.0
|
||||
- uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
configurationFile: renovate.json5
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
renovate-version: 40.3.1
|
||||
renovate-version: 41.32.1
|
||||
env:
|
||||
# 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' }}
|
||||
|
|
@ -550,7 +550,7 @@ To enable debug logging, add the environment variable `LOG_LEVEL: 'debug'` to th
|
|||
|
||||
```yml
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v42.0.0
|
||||
uses: renovatebot/github-action@v43.0.3
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ inputs:
|
|||
description: |
|
||||
Renovate version to use.
|
||||
required: false
|
||||
default: '40' # renovate
|
||||
default: '41' # renovate
|
||||
renovate-image:
|
||||
description: |
|
||||
Renovate docker image name.
|
||||
|
|
|
|||
36
package.json
36
package.json
|
|
@ -20,11 +20,11 @@
|
|||
"clean": "rimraf dist/",
|
||||
"compile": "node tools/compile.js",
|
||||
"lint": "run-s lint-es prettier",
|
||||
"lint:fix": "run-s lint-es:fix prettier-fix",
|
||||
"lint-es": "eslint .",
|
||||
"lint-es:file": "eslint",
|
||||
"lint-es:file:fix": "eslint --fix",
|
||||
"lint-es:fix": "eslint --fix .",
|
||||
"lint:fix": "run-s lint-es:fix prettier-fix",
|
||||
"prepare": "husky",
|
||||
"prettier": "prettier --cache --check --ignore-unknown \"{**/*,*}.*\"",
|
||||
"prettier-fix": "prettier --cache --write --ignore-unknown \"{**/*,*}.*\"",
|
||||
|
|
@ -37,33 +37,33 @@
|
|||
"@actions/exec": "1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "19.8.0",
|
||||
"@commitlint/config-conventional": "19.8.0",
|
||||
"@eslint/js": "9.25.1",
|
||||
"@commitlint/cli": "19.8.1",
|
||||
"@commitlint/config-conventional": "19.8.1",
|
||||
"@eslint/js": "9.30.1",
|
||||
"@semantic-release/git": "10.0.1",
|
||||
"@semantic-release/github": "11.0.2",
|
||||
"@semantic-release/npm": "12.0.1",
|
||||
"@tsconfig/node20": "20.1.5",
|
||||
"@semantic-release/github": "11.0.3",
|
||||
"@semantic-release/npm": "12.0.2",
|
||||
"@tsconfig/node20": "20.1.6",
|
||||
"@tsconfig/strictest": "2.0.5",
|
||||
"@types/eslint-config-prettier": "6.11.3",
|
||||
"@types/node": "20.17.32",
|
||||
"@types/node": "20.19.4",
|
||||
"conventional-changelog-conventionalcommits": "8.0.0",
|
||||
"esbuild": "0.25.3",
|
||||
"eslint": "9.25.1",
|
||||
"eslint-config-prettier": "10.1.2",
|
||||
"esbuild": "0.25.6",
|
||||
"eslint": "9.30.1",
|
||||
"eslint-config-prettier": "10.1.5",
|
||||
"eslint-plugin-json": "4.0.1",
|
||||
"globals": "16.0.0",
|
||||
"globals": "16.3.0",
|
||||
"husky": "9.1.7",
|
||||
"lint-staged": "15.5.1",
|
||||
"lint-staged": "15.5.2",
|
||||
"npm-run-all2": "7.0.2",
|
||||
"prettier": "3.5.3",
|
||||
"prettier-plugin-packagejson": "2.5.10",
|
||||
"prettier": "3.6.2",
|
||||
"prettier-plugin-packagejson": "2.5.18",
|
||||
"rimraf": "6.0.1",
|
||||
"semantic-release": "24.2.3",
|
||||
"semantic-release": "24.2.6",
|
||||
"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": {
|
||||
"node": "^20.9.0 || ^22.11.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 {
|
||||
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 fullTag: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue