mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-27 12:43:37 +00:00
Merge branch 'main' into docker-socket-host-path
This commit is contained in:
commit
b6d254360e
4 changed files with 448 additions and 430 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
|
@ -11,7 +11,7 @@ concurrency:
|
|||
|
||||
env:
|
||||
NODE_VERSION: 20
|
||||
RENOVATE_VERSION: 38.46.0 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
|
||||
RENOVATE_VERSION: 38.101.1 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
|
||||
|
||||
jobs:
|
||||
commitlint:
|
||||
|
|
@ -20,14 +20,14 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
show-progress: false
|
||||
filter: blob:none # we don't need all blobs, only the full tree
|
||||
|
||||
- name: Lint commit messages
|
||||
uses: wagoid/commitlint-github-action@a2bc521d745b1ba127ee2f8b02d6afaa4eed035c # v6.1.1
|
||||
uses: wagoid/commitlint-github-action@3d28780bbf0365e29b144e272b2121204d5be5f3 # v6.1.2
|
||||
continue-on-error: true
|
||||
|
||||
lint:
|
||||
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
with:
|
||||
show-progress: false
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
run: corepack enable
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
||||
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: pnpm
|
||||
|
|
@ -69,7 +69,7 @@ jobs:
|
|||
- example/renovate-config.json
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
with:
|
||||
show-progress: false
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ jobs:
|
|||
run: corepack enable
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
||||
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: pnpm
|
||||
|
|
@ -133,7 +133,7 @@ jobs:
|
|||
git config --global user.name 'Renovate Bot'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
with:
|
||||
fetch-depth: 0 # required for semantic release
|
||||
ref: 'release'
|
||||
|
|
@ -154,7 +154,7 @@ jobs:
|
|||
run: corepack enable
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
||||
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: pnpm
|
||||
|
|
|
|||
54
README.md
54
README.md
|
|
@ -98,9 +98,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
docker-cmd-file: .github/renovate-entrypoint.sh
|
||||
docker-user: root
|
||||
|
|
@ -141,9 +141,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
docker-volumes: |
|
||||
|
|
@ -193,9 +193,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
renovate-image: myproxyhub.domain.com/renovate/renovate
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -210,9 +210,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
|
@ -223,7 +223,7 @@ The Renovate version to use.
|
|||
If omitted the action will use the `latest` 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:38.39.6` image.
|
||||
This sample will use `ghcr.io/renovatebot/renovate:38.101.1` image.
|
||||
|
||||
```yml
|
||||
....
|
||||
|
|
@ -232,11 +232,11 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
renovate-version: 38.39.6
|
||||
renovate-version: 38.101.1
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
||||
|
|
@ -249,9 +249,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
renovate-version: full
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -284,9 +284,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -299,7 +299,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@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -341,10 +341,10 @@ jobs:
|
|||
repositories: 'repo1,repo2'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: '${{ steps.get_token.outputs.token }}'
|
||||
|
|
@ -359,7 +359,7 @@ For example:
|
|||
|
||||
```yaml
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
token: '${{ steps.get_token.outputs.token }}'
|
||||
env:
|
||||
|
|
@ -381,9 +381,9 @@ For example if you wish to pass through some credentials for a [host rule](https
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -418,9 +418,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.7
|
||||
uses: actions/checkout@v4.2.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
@ -511,11 +511,11 @@ jobs:
|
|||
sudo chown -R runneradmin:root /tmp/renovate/
|
||||
ls -R $cache_dir
|
||||
|
||||
- uses: renovatebot/github-action@v40.2.6
|
||||
- uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
configurationFile: renovate.json5
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
renovate-version: 38.39.6
|
||||
renovate-version: 38.101.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' }}
|
||||
|
|
@ -549,7 +549,7 @@ To enable debug logging, add the environment variable `LOG_LEVEL: 'debug'` to th
|
|||
|
||||
```yml
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v40.2.6
|
||||
uses: renovatebot/github-action@v40.2.10
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
|
|
|||
24
package.json
24
package.json
|
|
@ -36,31 +36,31 @@
|
|||
"@actions/exec": "1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "19.4.0",
|
||||
"@commitlint/config-conventional": "19.2.2",
|
||||
"@commitlint/cli": "19.5.0",
|
||||
"@commitlint/config-conventional": "19.5.0",
|
||||
"@semantic-release/git": "10.0.1",
|
||||
"@semantic-release/github": "10.1.4",
|
||||
"@semantic-release/github": "10.3.5",
|
||||
"@semantic-release/npm": "12.0.1",
|
||||
"@tsconfig/node20": "20.1.4",
|
||||
"@types/node": "20.14.15",
|
||||
"@types/node": "20.16.5",
|
||||
"@typescript-eslint/eslint-plugin": "6.21.0",
|
||||
"@typescript-eslint/parser": "6.21.0",
|
||||
"@vercel/ncc": "0.38.1",
|
||||
"conventional-changelog-conventionalcommits": "8.0.0",
|
||||
"eslint": "8.57.0",
|
||||
"eslint": "8.57.1",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-plugin-json": "3.1.0",
|
||||
"husky": "9.1.4",
|
||||
"lint-staged": "15.2.9",
|
||||
"npm-run-all2": "6.2.2",
|
||||
"husky": "9.1.6",
|
||||
"lint-staged": "15.2.10",
|
||||
"npm-run-all2": "6.2.3",
|
||||
"prettier": "3.3.3",
|
||||
"prettier-plugin-packagejson": "2.5.1",
|
||||
"prettier-plugin-packagejson": "2.5.2",
|
||||
"rimraf": "6.0.1",
|
||||
"semantic-release": "24.0.0",
|
||||
"semantic-release": "24.1.1",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.5.4"
|
||||
"typescript": "5.6.2"
|
||||
},
|
||||
"packageManager": "pnpm@9.7.0",
|
||||
"packageManager": "pnpm@9.11.0",
|
||||
"engines": {
|
||||
"node": ">=20.9.0",
|
||||
"pnpm": "^9.0.0"
|
||||
|
|
|
|||
782
pnpm-lock.yaml
generated
782
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue