mirror of
https://github.com/renovatebot/github-action.git
synced 2026-02-03 18:58:09 +00:00
Compare commits
18 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4524c32275 | ||
|
|
1e4f4a830c | ||
|
|
6bf50f544a | ||
|
|
018d1e4297 | ||
|
|
fe54aec858 | ||
|
|
dc3429fbc9 | ||
|
|
4c73fa7f5e | ||
|
|
b6d94b7279 | ||
|
|
b9249f32b5 | ||
|
|
c8c35d44dc | ||
|
|
2fec0324c9 | ||
|
|
9f55a79309 | ||
|
|
c0ab525a8c | ||
|
|
d361423d7c | ||
|
|
bce6a9f3a2 | ||
|
|
4d7de5784c | ||
|
|
6ba4a5c49b | ||
|
|
8a6192ff3a |
7 changed files with 234 additions and 385 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -10,7 +10,7 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RENOVATE_VERSION: 43.0.5 # renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
RENOVATE_VERSION: 43.2.4 # renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
|
|
@ -117,7 +117,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/renovatebot/renovate:43.0.5@sha256:13b89f7fa670111b8da022822413c688d6f63ed30aea2f05201f64ea4aa9bff6
|
image: ghcr.io/renovatebot/renovate:43.2.4@sha256:fa1302f469465ae1178e06aea60e125d9b47f1b45a6eb33d9c7382f351beeed4
|
||||||
# github hosted runners are running as `1001:127` (ubuntu:docker)
|
# github hosted runners are running as `1001:127` (ubuntu:docker)
|
||||||
options: -u 1001:0 --group-add 1000 --group-add 12021 --group-add 127
|
options: -u 1001:0 --group-add 1000 --group-add 12021 --group-add 127
|
||||||
|
|
||||||
|
|
|
||||||
34
README.md
34
README.md
|
|
@ -100,7 +100,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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:43.0.5` image.
|
This sample will use `ghcr.io/renovatebot/renovate:43.2.4` image.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
....
|
....
|
||||||
|
|
@ -233,9 +233,9 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
with:
|
with:
|
||||||
renovate-version: 43.0.5
|
renovate-version: 43.2.4
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -250,7 +250,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
|
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v6.0.2
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
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@v45.0.0
|
- uses: renovatebot/github-action@v46.0.1
|
||||||
with:
|
with:
|
||||||
configurationFile: renovate.json5
|
configurationFile: renovate.json5
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
renovate-version: 43.0.5
|
renovate-version: 43.2.4
|
||||||
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@v45.0.0
|
uses: renovatebot/github-action@v46.0.1
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
|
||||||
16
package.json
16
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 \"{**/*,*}.*\"",
|
||||||
|
|
@ -43,8 +43,8 @@
|
||||||
"@semantic-release/git": "10.0.1",
|
"@semantic-release/git": "10.0.1",
|
||||||
"@semantic-release/github": "12.0.2",
|
"@semantic-release/github": "12.0.2",
|
||||||
"@semantic-release/npm": "13.1.3",
|
"@semantic-release/npm": "13.1.3",
|
||||||
"@tsconfig/node22": "22.0.5",
|
"@tsconfig/node24": "24.0.4",
|
||||||
"@tsconfig/strictest": "2.0.6",
|
"@tsconfig/strictest": "2.0.8",
|
||||||
"@types/eslint-config-prettier": "6.11.3",
|
"@types/eslint-config-prettier": "6.11.3",
|
||||||
"@types/node": "24.10.9",
|
"@types/node": "24.10.9",
|
||||||
"conventional-changelog-conventionalcommits": "9.1.0",
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
||||||
|
|
@ -52,18 +52,18 @@
|
||||||
"eslint": "9.39.2",
|
"eslint": "9.39.2",
|
||||||
"eslint-config-prettier": "10.1.8",
|
"eslint-config-prettier": "10.1.8",
|
||||||
"eslint-plugin-json": "4.0.1",
|
"eslint-plugin-json": "4.0.1",
|
||||||
"globals": "17.1.0",
|
"globals": "17.2.0",
|
||||||
"husky": "9.1.7",
|
"husky": "9.1.7",
|
||||||
"lint-staged": "16.2.7",
|
"lint-staged": "16.2.7",
|
||||||
"npm-run-all2": "8.0.4",
|
"npm-run-all2": "8.0.4",
|
||||||
"prettier": "3.8.0",
|
"prettier": "3.8.1",
|
||||||
"prettier-plugin-packagejson": "2.5.21",
|
"prettier-plugin-packagejson": "3.0.0",
|
||||||
"rimraf": "6.1.2",
|
"rimraf": "6.1.2",
|
||||||
"semantic-release": "25.0.2",
|
"semantic-release": "25.0.2",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"typescript-eslint": "8.53.1"
|
"typescript-eslint": "8.54.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.28.1",
|
"packageManager": "pnpm@10.28.2",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=24.11.0",
|
"node": ">=24.11.0",
|
||||||
"pnpm": "^10.0.0"
|
"pnpm": "^10.0.0"
|
||||||
|
|
|
||||||
559
pnpm-lock.yaml
generated
559
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -6,7 +6,7 @@ await build({
|
||||||
bundle: true,
|
bundle: true,
|
||||||
platform: 'node',
|
platform: 'node',
|
||||||
target: 'node24',
|
target: 'node24',
|
||||||
minify: !!env['CI'],
|
minify: !!env.CI,
|
||||||
tsconfig: 'tsconfig.dist.json',
|
tsconfig: 'tsconfig.dist.json',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
format: 'esm',
|
format: 'esm',
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"@tsconfig/strictest/tsconfig.json",
|
"@tsconfig/strictest/tsconfig.json",
|
||||||
"@tsconfig/node22/tsconfig.json"
|
"@tsconfig/node24/tsconfig.json"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"@tsconfig/strictest/tsconfig.json",
|
"@tsconfig/strictest/tsconfig.json",
|
||||||
"@tsconfig/node22/tsconfig.json"
|
"@tsconfig/node24/tsconfig.json"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue