Compare commits

...

41 commits

Author SHA1 Message Date
renovate[bot]
eed36ceef6
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.60.0
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / renovate-config-validator (push) Waiting to run
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.59.1 | 42.60.0 |
2025-12-18 08:22:54 +00:00
renovate[bot]
7359cca382
ci(deps): update renovate docker tag to v42.59.1
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / renovate-config-validator (push) Waiting to run
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.59.0 | 42.59.1 |
2025-12-17 12:30:38 +00:00
renovate[bot]
b4fc770ace
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.59.1
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.59.0 | 42.59.1 |
2025-12-17 11:26:30 +00:00
renovate[bot]
54ccfe8c99
ci(deps): update renovate docker tag to v42.59.0
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.4 | 42.59.0 |
2025-12-17 10:28:19 +00:00
renovate[bot]
3fb872de61
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.59.0
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.4 | 42.59.0 |
2025-12-17 09:33:23 +00:00
renovate[bot]
7f353c27aa
ci(deps): update renovate docker tag to v42.58.4
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / renovate-config-validator (push) Waiting to run
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.3 | 42.58.4 |
2025-12-17 07:24:38 +00:00
renovate[bot]
548f050250
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.58.4
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.3 | 42.58.4 |
2025-12-17 06:23:48 +00:00
renovate[bot]
a05a7732a1
ci(deps): update renovate docker tag to v42.58.3
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / renovate-config-validator (push) Waiting to run
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.2 | 42.58.3 |
2025-12-16 22:54:20 +00:00
renovate[bot]
d21ed0efec
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.58.3
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.2 | 42.58.3 |
2025-12-16 21:38:16 +00:00
renovate[bot]
efc82a710f
ci(deps): update renovate docker tag to v42.58.2
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.1 | 42.58.2 |
2025-12-16 18:24:52 +00:00
renovate[bot]
e571d85ac0
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.58.2
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.1 | 42.58.2 |
2025-12-16 17:33:29 +00:00
renovate[bot]
635cf78cf0
ci(deps): update renovate docker tag to v42.58.1
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / renovate-config-validator (push) Waiting to run
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.0 | 42.58.1 |
2025-12-16 15:28:31 +00:00
renovate[bot]
95fbfab63b
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.58.1
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.58.0 | 42.58.1 |
2025-12-16 14:27:34 +00:00
renovate[bot]
07847d1ce3
ci(deps): update renovate docker tag to v42.58.0
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.57.1 | 42.58.0 |
2025-12-16 12:24:42 +00:00
renovate[bot]
395475ba39
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.58.0
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.57.1 | 42.58.0 |
2025-12-16 11:26:53 +00:00
renovate[bot]
35e2653320
chore(deps): update dependency @types/node to v20.19.26
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / renovate-config-validator (push) Waiting to run
Build / release (push) Blocked by required conditions
| datasource | package     | from     | to       |
| ---------- | ----------- | -------- | -------- |
| npm        | @types/node | 20.19.25 | 20.19.26 |
2025-12-15 23:25:35 +00:00
renovate[bot]
094e9c6953
ci(deps): update renovate docker tag to v42.57.1
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / renovate-config-validator (push) Waiting to run
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.55.0 | 42.57.1 |
2025-12-15 20:26:18 +00:00
renovate[bot]
dabc2a05a3
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.57.1
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.57.0 | 42.57.1 |
2025-12-15 19:23:25 +00:00
renovate[bot]
9b96e25a5a
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.57.0
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.55.0 | 42.57.0 |
2025-12-15 18:24:42 +00:00
renovate[bot]
c778357a67
chore(deps): update dependency typescript-eslint to v8.49.0
| datasource | package           | from   | to     |
| ---------- | ----------------- | ------ | ------ |
| npm        | typescript-eslint | 8.48.1 | 8.49.0 |
2025-12-15 17:24:31 +00:00
renovate[bot]
4728f99879
ci(deps): update ghcr.io/renovatebot/renovate docker tag to v42.55.0
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.54.1 | 42.55.0 |
2025-12-15 16:39:24 +00:00
Jamie Tanna
5fde7be597
ci: ensure example/ passes renovate-config-validator (#962)
As noted in #910, we have invalid configuration shared as an example,
which isn't ideal.

We should validate any JSON and `config.js` files in the example
directory.

We need to make sure that we override the ESM settings in this repo, as
otherwise we receive:

  module is not defined in ES module scope

When trying to validate the `renovate-config.js`.

This also follows the usage of a container from Renovate[0] for using
the container to run the validator.

[0]: 2ab0f77818/.github/workflows/test.yml (L44)
2025-12-15 16:38:21 +00:00
renovate[bot]
f5951c521b
ci(deps): update renovate docker tag to v42.55.0
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.54.1 | 42.55.0 |
2025-12-15 16:25:40 +00:00
renovate[bot]
2fb813ee7f
chore(deps): update pnpm to v10.25.0
| datasource | package | from    | to      |
| ---------- | ------- | ------- | ------- |
| npm        | pnpm    | 10.24.0 | 10.25.0 |
2025-12-15 15:27:01 +00:00
Jamie Tanna
fde0305037
feat: show Renovate CLI version more prominently in logs (#983)
As noted in #969, it would be useful to have a more prominent output in
the logs to indicate the version of the Renovate CLI being used.

This would help with both personal debugging (for administrators of the
GitHub Action) and for raising issues upstream.

To do this, we can call the `--version` on the CLI, capture the output
and report it back to the user.

By using a Notice annotation, we can then make it more visible at the
job- and step-level.

We can then also wrap it in a `group`, so it's hidden in its own
expandable group (with timing information).

Closes #969.
2025-12-15 11:21:29 +00:00
renovate[bot]
47283fac74
ci(deps): update renovate docker tag to v42.54.1
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.52.8 | 42.54.1 |
2025-12-15 10:09:51 +00:00
renovate[bot]
ccbe4e599c
ci(deps): update actions/checkout action to v6 (#982)
| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v4.3.1 | v6.0.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 10:08:25 +00:00
renovate[bot]
5601672bb1
chore(deps): update actions/cache action to v5 (#981)
| datasource  | package       | from   | to     |
| ----------- | ------------- | ------ | ------ |
| github-tags | actions/cache | v4.3.0 | v5.0.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 11:03:23 +01:00
renovate[bot]
5ccdc9c834
docs: update references to actions/checkout to v6
| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v5.0.1 | v6.0.1 |
2025-12-15 08:36:42 +00:00
renovate[bot]
877f1edb5a
docs: update references to renovatebot/github-action to v44.1.0
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / release (push) Blocked by required conditions
| datasource      | package                   | from    | to      |
| --------------- | ------------------------- | ------- | ------- |
| github-releases | renovatebot/github-action | v44.0.5 | v44.1.0 |
| github-tags     | renovatebot/github-action | v44.0.5 | v44.1.0 |
2025-12-15 01:33:37 +00:00
renovate[bot]
a7d997abb9
docs: update references to ghcr.io/renovatebot/renovate to v42.52.8
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.39.2 | 42.52.8 |
2025-12-15 00:26:35 +00:00
renovate[bot]
a163433138
ci(deps): update renovate docker tag to v42.52.8
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.52.6 | 42.52.8 |
2025-12-14 21:27:06 +00:00
renovate[bot]
80916137e7
ci(deps): update renovate docker tag to v42.52.6
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.52.4 | 42.52.6 |
2025-12-14 12:24:12 +00:00
renovate[bot]
27c17575a9
ci(deps): update renovate docker tag to v42.52.4
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.52.3 | 42.52.4 |
2025-12-14 07:23:39 +00:00
renovate[bot]
c3a7384543
ci(deps): update renovate docker tag to v42.52.3
Some checks are pending
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.52.2 | 42.52.3 |
2025-12-13 21:24:47 +00:00
renovate[bot]
c31dec6b59
ci(deps): update renovate docker tag to v42.52.2
Some checks are pending
Build / commitlint (push) Waiting to run
Build / prepare (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.52.1 | 42.52.2 |
2025-12-13 00:22:08 +00:00
renovate[bot]
61dcbbd7bc
ci(deps): update renovate docker tag to v42.52.1
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.52.0 | 42.52.1 |
2025-12-12 22:24:35 +00:00
renovate[bot]
92e7f7b274
ci(deps): update renovate docker tag to v42.52.0
Some checks are pending
Build / e2e (example/renovate-config.js) (push) Blocked by required conditions
Build / prepare (push) Waiting to run
Build / commitlint (push) Waiting to run
Build / lint (push) Blocked by required conditions
Build / e2e (example/renovate-config.json) (push) Blocked by required conditions
Build / release (push) Blocked by required conditions
| datasource | package                      | from    | to      |
| ---------- | ---------------------------- | ------- | ------- |
| docker     | ghcr.io/renovatebot/renovate | 42.50.0 | 42.52.0 |
2025-12-12 20:27:54 +00:00
renovate[bot]
9c94e7fd2b
chore(deps): update commitlint monorepo to v20 (major) (#975)
chore(deps): update commitlint monorepo to v20

| datasource | package                         | from   | to     |
| ---------- | ------------------------------- | ------ | ------ |
| npm        | @commitlint/cli                 | 19.8.1 | 20.2.0 |
| npm        | @commitlint/config-conventional | 19.8.1 | 20.2.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-12 16:56:07 +00:00
renovate[bot]
f90da8d8bc
chore(deps): update semantic-release monorepo (major) (#978)
chore(deps): update semantic-release monorepo

| datasource | package                  | from   | to     |
| ---------- | ------------------------ | ------ | ------ |
| npm        | @semantic-release/github | 11.0.6 | 12.0.2 |
| npm        | @semantic-release/npm    | 12.0.2 | 13.1.2 |
| npm        | semantic-release         | 24.2.9 | 25.0.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-12 17:50:28 +01:00
renovate[bot]
1adf39f4f8
chore(deps): update node.js to v24 (#977)
* chore(deps): update node.js to v24

| datasource   | package | from     | to       |
| ------------ | ------- | -------- | -------- |
| node-version | node    | v22.21.1 | v24.12.0 |
| node-version | node    | v20.19.6 | v24.12.0 |

* Update package.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-12-12 16:41:35 +00:00
9 changed files with 375 additions and 273 deletions

View file

@ -18,7 +18,7 @@ runs:
}}' >> "$GITHUB_ENV"
- name: ♻️ Restore `node_modules`
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
id: node-modules-restore
with:
path: node_modules
@ -53,7 +53,7 @@ runs:
- name: ♻️ Write `node_modules` cache
if: inputs.save-cache == 'true' && env.CACHE_HIT != 'true'
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/save@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: node_modules
key: ${{ env.CACHE_KEY }}

View file

@ -10,7 +10,7 @@ concurrency:
cancel-in-progress: true
env:
RENOVATE_VERSION: 42.50.0 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
RENOVATE_VERSION: 42.59.1 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
jobs:
prepare:
@ -18,7 +18,7 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
show-progress: false
@ -33,7 +33,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
show-progress: false
@ -51,7 +51,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
show-progress: false
@ -75,7 +75,7 @@ jobs:
- example/renovate-config.json
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
show-progress: false
@ -113,11 +113,30 @@ jobs:
docker-cmd-file: example/entrypoint.sh
docker-user: root
renovate-config-validator:
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: ghcr.io/renovatebot/renovate:42.60.0@sha256:9be8030a7f922f075d8e2daa1930ce5e472e313cb77818f4f7c3a4188056b032
# github hosted runners are running as `1001:127` (ubuntu:docker)
options: -u 1001:0 --group-add 1000 --group-add 12021 --group-add 127
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
show-progress: false
- name: Validate Renovate configuration
working-directory: example
run: |
renovate-config-validator renovate-config.js renovate-config.json
release:
needs:
- lint
- commitlint
- e2e
- renovate-config-validator
runs-on: ubuntu-latest
steps:
- name: Setup Git user
@ -129,7 +148,7 @@ jobs:
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0 # required for semantic release
ref: 'release'

View file

@ -1 +1 @@
20.19.6
24.12.0

View file

@ -98,9 +98,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
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@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
with:
token: ${{ secrets.RENOVATE_TOKEN }}
docker-volumes: |
@ -192,9 +192,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
with:
renovate-image: myproxyhub.domain.com/renovate/renovate
token: ${{ secrets.RENOVATE_TOKEN }}
@ -209,9 +209,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
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:42.39.2` image.
This sample will use `ghcr.io/renovatebot/renovate:42.52.8` image.
```yml
....
@ -231,11 +231,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
with:
renovate-version: 42.39.2
renovate-version: 42.52.8
token: ${{ secrets.RENOVATE_TOKEN }}
```
@ -248,9 +248,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
with:
renovate-version: full
token: ${{ secrets.RENOVATE_TOKEN }}
@ -283,9 +283,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
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@v44.0.5
uses: renovatebot/github-action@v44.1.0
with:
configurationFile: example/renovate-config.js
token: ${{ secrets.RENOVATE_TOKEN }}
@ -342,10 +342,10 @@ jobs:
repositories: 'repo1,repo2'
- name: Checkout
uses: actions/checkout@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
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@v44.0.5
uses: renovatebot/github-action@v44.1.0
with:
token: '${{ steps.get_token.outputs.token }}'
env:
@ -382,9 +382,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@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
with:
configurationFile: example/renovate-config.js
token: ${{ secrets.RENOVATE_TOKEN }}
@ -419,9 +419,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.1
uses: actions/checkout@v6.0.1
- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.0.5
uses: renovatebot/github-action@v44.1.0
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@v44.0.5
- uses: renovatebot/github-action@v44.1.0
with:
configurationFile: renovate.json5
token: ${{ secrets.RENOVATE_TOKEN }}
renovate-version: 42.39.2
renovate-version: 42.52.8
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@v44.0.5
uses: renovatebot/github-action@v44.1.0
with:
configurationFile: example/renovate-config.js
token: ${{ secrets.RENOVATE_TOKEN }}

3
example/package.json Normal file
View file

@ -0,0 +1,3 @@
{
"type": "commonjs"
}

View file

@ -37,16 +37,16 @@
"@actions/exec": "1.1.1"
},
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@commitlint/cli": "20.2.0",
"@commitlint/config-conventional": "20.2.0",
"@eslint/js": "9.39.1",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "11.0.6",
"@semantic-release/npm": "12.0.2",
"@semantic-release/github": "12.0.2",
"@semantic-release/npm": "13.1.2",
"@tsconfig/node20": "20.1.8",
"@tsconfig/strictest": "2.0.6",
"@types/eslint-config-prettier": "6.11.3",
"@types/node": "20.19.25",
"@types/node": "20.19.26",
"conventional-changelog-conventionalcommits": "9.1.0",
"esbuild": "0.27.1",
"eslint": "9.39.1",
@ -59,13 +59,13 @@
"prettier": "3.7.4",
"prettier-plugin-packagejson": "2.5.20",
"rimraf": "6.1.2",
"semantic-release": "24.2.9",
"semantic-release": "25.0.2",
"typescript": "5.9.3",
"typescript-eslint": "8.48.1"
"typescript-eslint": "8.49.0"
},
"packageManager": "pnpm@10.24.0",
"packageManager": "pnpm@10.25.0",
"engines": {
"node": "^20.9.0 || ^22.11.0",
"node": "^20.9.0 || ^22.11.0 || ^24.11.0",
"pnpm": "^10.0.0"
},
"pnpm": {

516
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -1,12 +1,17 @@
import { group, notice, setFailed } from '@actions/core';
import { Input } from './input';
import { Renovate } from './renovate';
import { setFailed } from '@actions/core';
async function run(): Promise<void> {
try {
const input = new Input();
const renovate = new Renovate(input);
await group('Check Renovate version', async () => {
const version = await renovate.runDockerContainerForVersion();
notice(version, { title: 'Renovate CLI version' });
});
await renovate.runDockerContainer();
} catch (error) {
console.error(error);

View file

@ -1,6 +1,6 @@
import { exec, getExecOutput } from '@actions/exec';
import { Docker } from './docker';
import { Input } from './input';
import { exec } from '@actions/exec';
import fs from 'node:fs/promises';
import path from 'node:path';
@ -14,6 +14,17 @@ export class Renovate {
this.docker = new Docker(input);
}
async runDockerContainerForVersion(): Promise<string> {
const command = `docker run -t --rm ${this.docker.image()} --version`;
const { exitCode, stdout } = await getExecOutput(command);
if (exitCode !== 0) {
new Error(`'docker run' failed with exit code ${exitCode}.`);
}
return stdout.trim();
}
async runDockerContainer(): Promise<void> {
await this.validateArguments();