mirror of
https://github.com/renovatebot/github-action.git
synced 2026-02-04 19:08:08 +00:00
Compare commits
234 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d877f2b0e | ||
|
|
d638fa7901 | ||
|
|
63929db713 | ||
|
|
c971e62e42 | ||
|
|
4301d7a798 | ||
|
|
4524c32275 | ||
|
|
1e4f4a830c | ||
|
|
6bf50f544a | ||
|
|
018d1e4297 | ||
|
|
fe54aec858 | ||
|
|
dc3429fbc9 | ||
|
|
4c73fa7f5e | ||
|
|
b6d94b7279 | ||
|
|
b9249f32b5 | ||
|
|
c8c35d44dc | ||
|
|
2fec0324c9 | ||
|
|
9f55a79309 | ||
|
|
c0ab525a8c | ||
|
|
d361423d7c | ||
|
|
bce6a9f3a2 | ||
|
|
4d7de5784c | ||
|
|
6ba4a5c49b | ||
|
|
8a6192ff3a | ||
|
|
ae99b3785a | ||
|
|
d724dd314f | ||
|
|
29e7d615e0 | ||
|
|
e098430c9c | ||
|
|
df519dcd60 | ||
|
|
ffd1bc72a6 | ||
|
|
86803785c4 | ||
|
|
19b5bd8e8d | ||
|
|
a07086ad34 | ||
|
|
f391c83282 | ||
|
|
969380c2b4 | ||
|
|
d2b9da6597 | ||
|
|
dffa4d470d | ||
|
|
569b92826f | ||
|
|
4dfbc50e4c | ||
|
|
253db8a282 | ||
|
|
5aaf05075d | ||
|
|
416d47fe42 | ||
|
|
9332c36063 | ||
|
|
5b01b3588f | ||
|
|
21d8fc497e | ||
|
|
30bf1bf6d6 | ||
|
|
5075ddc5f2 | ||
|
|
e9974c0c75 | ||
|
|
68f0c4cd66 | ||
|
|
4990c2463a | ||
|
|
a058a2fe1e | ||
|
|
6eb6ef2c88 | ||
|
|
d79811201e | ||
|
|
b74d2be509 | ||
|
|
df65844243 | ||
|
|
066c0b536a | ||
|
|
7996fff47b | ||
|
|
c0fa679657 | ||
|
|
8267212ee8 | ||
|
|
75fe4986fc | ||
|
|
8627919224 | ||
|
|
c493b2df50 | ||
|
|
9216196086 | ||
|
|
5ec2068dac | ||
|
|
67fe0c36c9 | ||
|
|
fd97c3ac4d | ||
|
|
39f256bd8b | ||
|
|
be0a61256e | ||
|
|
e39ac1d6a0 | ||
|
|
c4feabe257 | ||
|
|
0d4c9d2269 | ||
|
|
7cf9d8ea17 | ||
|
|
65f6aaf7f0 | ||
|
|
6e8ea66de8 | ||
|
|
fe777345b0 | ||
|
|
481c844122 | ||
|
|
28f1aa9045 | ||
|
|
f7d4fc73fe | ||
|
|
c2d6419e25 | ||
|
|
80dcf09c98 | ||
|
|
21288739c3 | ||
|
|
bca8c029ef | ||
|
|
f5b09cb510 | ||
|
|
9d5f277e43 | ||
|
|
d0197d9a2e | ||
|
|
d58706580f | ||
|
|
32fbc452d9 | ||
|
|
c8fd5266dc | ||
|
|
bbd25ac6ff | ||
|
|
5430625a62 | ||
|
|
48d349050a | ||
|
|
0256625e58 | ||
|
|
3bab076751 | ||
|
|
1c5ac30c32 | ||
|
|
d94ec392f9 | ||
|
|
b8ce01539a | ||
|
|
4171b3b9ef | ||
|
|
312511e6ca | ||
|
|
7ffd65f43c | ||
|
|
e3e66f1d2a | ||
|
|
2523d2e45a | ||
|
|
0725f725f5 | ||
|
|
6ebcfac57b | ||
|
|
19046c0b1c | ||
|
|
52745be575 | ||
|
|
f0b16d522d | ||
|
|
c3071bc0c8 | ||
|
|
e3f9bec661 | ||
|
|
40d0e4f770 | ||
|
|
bee68c6b42 | ||
|
|
155b66f279 | ||
|
|
55f2982c57 | ||
|
|
213c451fb3 | ||
|
|
dc4c585b88 | ||
|
|
37f4ae6101 | ||
|
|
afd25d6eb6 | ||
|
|
7e73d9ab18 | ||
|
|
690cf78d30 | ||
|
|
50506271a3 | ||
|
|
6b82695fd9 | ||
|
|
2c196f3458 | ||
|
|
584d04a136 | ||
|
|
911651e5cf | ||
|
|
50179b9570 | ||
|
|
7deb14cb29 | ||
|
|
91336be3d3 | ||
|
|
2fbf483c4d | ||
|
|
56dbe580da | ||
|
|
4dad0877ae | ||
|
|
9725b51221 | ||
|
|
7e3ecb996d | ||
|
|
827eecb12b | ||
|
|
13b6940c1c | ||
|
|
f0ffaaa8f3 | ||
|
|
9a4c598068 | ||
|
|
877c17183a | ||
|
|
7db10dc838 | ||
|
|
19894e9e4f | ||
|
|
d3ef4cc678 | ||
|
|
211b1b5bed | ||
|
|
c837398dd0 | ||
|
|
21dcf73de6 | ||
|
|
c1e52d7db3 | ||
|
|
b0e457ce30 | ||
|
|
341e799bce | ||
|
|
d61fab04d1 | ||
|
|
61f6467333 | ||
|
|
d0f3cb0f68 | ||
|
|
cad1a9f9a4 | ||
|
|
abda118d56 | ||
|
|
616daf590f | ||
|
|
34d045f6ec | ||
|
|
415ac314d9 | ||
|
|
28448a032e | ||
|
|
fd69857244 | ||
|
|
ce838c6ff6 | ||
|
|
866508e644 | ||
|
|
0c847dbd22 | ||
|
|
5440251151 | ||
|
|
bc3dd85978 | ||
|
|
73927c7be0 | ||
|
|
d6327fad52 | ||
|
|
c0cccbb67a | ||
|
|
954e6598f4 | ||
|
|
fe39a9a20f | ||
|
|
ed6fad858b | ||
|
|
e1424c9600 | ||
|
|
502f344562 | ||
|
|
6eb783190b | ||
|
|
f54c19eeb3 | ||
|
|
d1aa322c4d | ||
|
|
8af1825661 | ||
|
|
3fba8a978b | ||
|
|
b1da1679ac | ||
|
|
57308dd727 | ||
|
|
1553f89559 | ||
|
|
70878ebdae | ||
|
|
f1aee6d1b9 | ||
|
|
003df6787e | ||
|
|
06b32e3596 | ||
|
|
d7cae0fe86 | ||
|
|
ea73cb1bd1 | ||
|
|
0565b9d00a | ||
|
|
b0ca42af51 | ||
|
|
f6dc4d0850 | ||
|
|
4dbd3e796f | ||
|
|
66e50c8991 | ||
|
|
3c17b91350 | ||
|
|
d78356e959 | ||
|
|
56f6b97043 | ||
|
|
fe61c4590f | ||
|
|
c995eac1d0 | ||
|
|
a4c096439b | ||
|
|
dc12d57cb9 | ||
|
|
92bf334c35 | ||
|
|
1444bcab8b | ||
|
|
3ab930c2ac | ||
|
|
218102a5af | ||
|
|
827ef45f70 | ||
|
|
944ec86e89 | ||
|
|
bebaad8609 | ||
|
|
b7dc84e40a | ||
|
|
619d0d5ea6 | ||
|
|
d6fad5d2e1 | ||
|
|
2d66e071df | ||
|
|
84a386f5d4 | ||
|
|
2e1a0f9c75 | ||
|
|
842ebb2cb9 | ||
|
|
a9bef4c8a0 | ||
|
|
177dca0421 | ||
|
|
1e1b89aded | ||
|
|
114b33b492 | ||
|
|
1d95636267 | ||
|
|
822f6742b7 | ||
|
|
6fe3c0a2cd | ||
|
|
805577b996 | ||
|
|
05aba882af | ||
|
|
3f20abef11 | ||
|
|
cd90faa22b | ||
|
|
28fe39e962 | ||
|
|
2ff242cd23 | ||
|
|
387e335734 | ||
|
|
325177b628 | ||
|
|
45e917fd0f | ||
|
|
f4257548aa | ||
|
|
c51011e426 | ||
|
|
a4bb3084a4 | ||
|
|
21c9d591bb | ||
|
|
319456c81c | ||
|
|
c594a5ad74 | ||
|
|
56997a64ac | ||
|
|
f0bf83fa87 | ||
|
|
0a6649057e | ||
|
|
544013de27 | ||
|
|
d8c97fc1bd |
15 changed files with 399 additions and 639 deletions
6
.github/actions/setup-node/action.yml
vendored
6
.github/actions/setup-node/action.yml
vendored
|
|
@ -18,7 +18,7 @@ runs:
|
||||||
}}' >> "$GITHUB_ENV"
|
}}' >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: ♻️ Restore `node_modules`
|
- name: ♻️ Restore `node_modules`
|
||||||
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
|
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
|
||||||
id: node-modules-restore
|
id: node-modules-restore
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
|
|
@ -38,7 +38,7 @@ runs:
|
||||||
standalone: true
|
standalone: true
|
||||||
|
|
||||||
- name: ⚙️ Setup Node.js ${{ inputs.node-version }}
|
- name: ⚙️ Setup Node.js ${{ inputs.node-version }}
|
||||||
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
|
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||||
with:
|
with:
|
||||||
node-version-file: .node-version
|
node-version-file: .node-version
|
||||||
cache: ${{ env.CACHE_HIT != 'true' && 'pnpm' || '' }}
|
cache: ${{ env.CACHE_HIT != 'true' && 'pnpm' || '' }}
|
||||||
|
|
@ -53,7 +53,7 @@ runs:
|
||||||
|
|
||||||
- name: ♻️ Write `node_modules` cache
|
- name: ♻️ Write `node_modules` cache
|
||||||
if: inputs.save-cache == 'true' && env.CACHE_HIT != 'true'
|
if: inputs.save-cache == 'true' && env.CACHE_HIT != 'true'
|
||||||
uses: actions/cache/save@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
|
uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ env.CACHE_KEY }}
|
key: ${{ env.CACHE_KEY }}
|
||||||
|
|
|
||||||
22
.github/renovate.json
vendored
22
.github/renovate.json
vendored
|
|
@ -2,18 +2,6 @@
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["github>renovatebot/.github", ":pinDependencies"],
|
"extends": ["github>renovatebot/.github", ":pinDependencies"],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
|
||||||
"description": "Update references in Markdown files weekly",
|
|
||||||
"matchFileNames": ["**/*.md"],
|
|
||||||
"extends": ["schedule:weekly"],
|
|
||||||
"automerge": true,
|
|
||||||
"minimumReleaseAge": null,
|
|
||||||
"separateMajorMinor": false,
|
|
||||||
"commitMessageTopic": "references to {{{depName}}}",
|
|
||||||
"semanticCommitType": "docs",
|
|
||||||
"semanticCommitScope": null,
|
|
||||||
"additionalBranchPrefix": "docs-"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "Use build semantic type for some deps",
|
"description": "Use build semantic type for some deps",
|
||||||
"matchPackageNames": ["@vercel/ncc", "typescript"],
|
"matchPackageNames": ["@vercel/ncc", "typescript"],
|
||||||
|
|
@ -40,21 +28,11 @@
|
||||||
{
|
{
|
||||||
"description": "Don't pin renovate updates",
|
"description": "Don't pin renovate updates",
|
||||||
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
||||||
"matchFileNames": [
|
|
||||||
"action.yml",
|
|
||||||
"src/docker.ts",
|
|
||||||
".github/workflows/build.yml"
|
|
||||||
],
|
|
||||||
"pinDigests": false
|
"pinDigests": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Use feat! semantic type for renovate major",
|
"description": "Use feat! semantic type for renovate major",
|
||||||
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
||||||
"matchFileNames": [
|
|
||||||
"action.yml",
|
|
||||||
"src/docker.ts",
|
|
||||||
".github/workflows/build.yml"
|
|
||||||
],
|
|
||||||
"matchUpdateTypes": ["major"],
|
"matchUpdateTypes": ["major"],
|
||||||
"commitMessagePrefix": "feat(deps)!:",
|
"commitMessagePrefix": "feat(deps)!:",
|
||||||
"additionalBranchPrefix": "renovate-major"
|
"additionalBranchPrefix": "renovate-major"
|
||||||
|
|
|
||||||
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
|
@ -10,7 +10,7 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RENOVATE_VERSION: 42.66.11 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
|
RENOVATE_VERSION: 43.3.0 # renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
show-progress: false
|
show-progress: false
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
show-progress: false
|
show-progress: false
|
||||||
|
|
@ -51,7 +51,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
show-progress: false
|
show-progress: false
|
||||||
|
|
||||||
|
|
@ -75,7 +75,7 @@ jobs:
|
||||||
- example/renovate-config.json
|
- example/renovate-config.json
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
show-progress: false
|
show-progress: false
|
||||||
|
|
||||||
|
|
@ -117,12 +117,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/renovatebot/renovate:42.66.11@sha256:e702d489f4d47302b8c487313296db859722feca134e17f674368f913c4e388d
|
image: ghcr.io/renovatebot/renovate:43.3.0@sha256:2cb09178b7a284ed97e4a94a65404daa4d7af8751d50c2c8352576cfced76050
|
||||||
# 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
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
show-progress: false
|
show-progress: false
|
||||||
|
|
||||||
|
|
@ -148,7 +148,7 @@ jobs:
|
||||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # required for semantic release
|
fetch-depth: 0 # required for semantic release
|
||||||
ref: 'release'
|
ref: 'release'
|
||||||
|
|
|
||||||
18
.github/workflows/pr-auto.yml
vendored
Normal file
18
.github/workflows/pr-auto.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
name: auto-pr
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
review:
|
||||||
|
if: github.event.action == 'opened' && !endsWith(github.event.pull_request.user.login, '[bot]')
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- uses: hkusu/review-assign-action@5bee595fdb9765d4a0bd35724b6302fa15569158 # v1.4.0
|
||||||
|
with:
|
||||||
|
reviewers: ${{ vars.REVIEWERS }}
|
||||||
|
max-num-of-reviewers: 2
|
||||||
|
|
@ -1 +1 @@
|
||||||
24.12.0
|
24.13.0
|
||||||
|
|
|
||||||
54
README.md
54
README.md
|
|
@ -98,9 +98,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
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
|
||||||
|
|
@ -141,9 +141,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
uses: renovatebot/github-action@v46.0.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
docker-volumes: |
|
docker-volumes: |
|
||||||
|
|
@ -192,9 +192,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
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 }}
|
||||||
|
|
@ -209,9 +209,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
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:42.66.11` image.
|
This sample will use `ghcr.io/renovatebot/renovate:43.3.0` image.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
....
|
....
|
||||||
|
|
@ -231,11 +231,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
uses: renovatebot/github-action@v46.0.1
|
||||||
with:
|
with:
|
||||||
renovate-version: 42.66.11
|
renovate-version: 43.3.0
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -248,9 +248,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
uses: renovatebot/github-action@v46.0.1
|
||||||
with:
|
with:
|
||||||
renovate-version: full
|
renovate-version: full
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
@ -283,9 +283,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
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@v44.2.1
|
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 }}
|
||||||
|
|
@ -342,10 +342,10 @@ jobs:
|
||||||
repositories: 'repo1,repo2'
|
repositories: 'repo1,repo2'
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
|
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
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@v44.2.1
|
uses: renovatebot/github-action@v46.0.1
|
||||||
with:
|
with:
|
||||||
token: '${{ steps.get_token.outputs.token }}'
|
token: '${{ steps.get_token.outputs.token }}'
|
||||||
env:
|
env:
|
||||||
|
|
@ -382,9 +382,9 @@ For example if you wish to pass through some credentials for a [host rule](https
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
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 }}
|
||||||
|
|
@ -419,9 +419,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v44.2.1
|
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@v44.2.1
|
- 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: 42.66.11
|
renovate-version: 43.3.0
|
||||||
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@v44.2.1
|
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 }}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ inputs:
|
||||||
description: |
|
description: |
|
||||||
Renovate version to use.
|
Renovate version to use.
|
||||||
required: false
|
required: false
|
||||||
default: '42' # renovate
|
default: '43' # renovate
|
||||||
renovate-image:
|
renovate-image:
|
||||||
description: |
|
description: |
|
||||||
Renovate docker image name.
|
Renovate docker image name.
|
||||||
|
|
@ -63,5 +63,5 @@ inputs:
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: node20
|
using: node24
|
||||||
main: dist/index.js
|
main: dist/index.js
|
||||||
|
|
|
||||||
70
dist/index.js
vendored
70
dist/index.js
vendored
File diff suppressed because one or more lines are too long
7
dist/index.js.map
vendored
7
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
30
package.json
30
package.json
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "github-action",
|
"name": "github-action",
|
||||||
"version": "44.2.2",
|
"version": "0.0.0-PLACEHOLDER",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "GitHub Action to run Renovate self-hosted.",
|
"description": "GitHub Action to run Renovate self-hosted.",
|
||||||
"homepage": "https://github.com/renovatebot/github-action#readme",
|
"homepage": "https://github.com/renovatebot/github-action#readme",
|
||||||
|
|
@ -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 \"{**/*,*}.*\"",
|
||||||
|
|
@ -33,39 +33,39 @@
|
||||||
"start": "run-s build && node dist"
|
"start": "run-s build && node dist"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "1.11.1",
|
"@actions/core": "3.0.0",
|
||||||
"@actions/exec": "1.1.1"
|
"@actions/exec": "3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "20.2.0",
|
"@commitlint/cli": "20.3.1",
|
||||||
"@commitlint/config-conventional": "20.2.0",
|
"@commitlint/config-conventional": "20.3.1",
|
||||||
"@eslint/js": "9.39.2",
|
"@eslint/js": "9.39.2",
|
||||||
"@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/node20": "20.1.8",
|
"@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": "20.19.27",
|
"@types/node": "24.10.9",
|
||||||
"conventional-changelog-conventionalcommits": "9.1.0",
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
||||||
"esbuild": "0.27.2",
|
"esbuild": "0.27.2",
|
||||||
"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": "16.5.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.7.4",
|
"prettier": "3.8.1",
|
||||||
"prettier-plugin-packagejson": "2.5.20",
|
"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.50.0"
|
"typescript-eslint": "8.54.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.26.1",
|
"packageManager": "pnpm@10.28.2",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^20.9.0 || ^22.11.0 || ^24.11.0",
|
"node": ">=24.11.0",
|
||||||
"pnpm": "^10.0.0"
|
"pnpm": "^10.0.0"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
|
|
|
||||||
798
pnpm-lock.yaml
generated
798
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 = '42'; // renovate
|
private static readonly version = '43'; // renovate
|
||||||
|
|
||||||
private readonly dockerImage: string;
|
private readonly dockerImage: string;
|
||||||
private readonly fullTag: string;
|
private readonly fullTag: string;
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ await build({
|
||||||
entryPoints: ['./src/index.ts'],
|
entryPoints: ['./src/index.ts'],
|
||||||
bundle: true,
|
bundle: true,
|
||||||
platform: 'node',
|
platform: 'node',
|
||||||
target: 'node20',
|
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/node20/tsconfig.json"
|
"@tsconfig/node24/tsconfig.json"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"@tsconfig/strictest/tsconfig.json",
|
"@tsconfig/strictest/tsconfig.json",
|
||||||
"@tsconfig/node20/tsconfig.json"
|
"@tsconfig/node24/tsconfig.json"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"allowJs": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue