mirror of
https://github.com/renovatebot/github-action.git
synced 2026-12-06 03:42:57 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3d480d13b | ||
|
|
3bcac2a4c9 | ||
|
|
605f61f77c | ||
|
|
9cbcae9461 | ||
|
|
37aa7bfde1 | ||
|
|
1910f63c03 | ||
|
|
6d1dae4b50 | ||
|
|
5d0a71ba13 | ||
|
|
6686ed7863 | ||
|
|
fbf9352695 | ||
|
|
0a1d328a52 | ||
|
|
1174aa05cb | ||
|
|
39c12e1a9c | ||
|
|
59e17b75b7 | ||
|
|
b9dd163d5d | ||
|
|
a4f39d41ec | ||
|
|
e46aa75031 | ||
|
|
79f1e3b5b0 | ||
|
|
4c7d0d9ea1 | ||
|
|
4cf489f4b0 | ||
|
|
eba14dd3ea | ||
|
|
05e88760cf | ||
|
|
c3a2bd1158 | ||
|
|
f33fe7241f | ||
|
|
61d3770654 | ||
|
|
97cf1d4e3b | ||
|
|
a4563876fd | ||
|
|
269c3af937 | ||
|
|
30566fb8b8 | ||
|
|
04a394c2db | ||
|
|
353cd85915 | ||
|
|
1b0a913e04 | ||
|
|
04e2cd2b08 | ||
|
|
84aeb30379 | ||
|
|
ee1d15a199 | ||
|
|
751c83e276 | ||
|
|
f608e1e32d | ||
|
|
3a7a14e2ba | ||
|
|
8fe5c6dfa0 | ||
|
|
f3cb074c89 | ||
|
|
1928ae2daa | ||
|
|
7180b34a05 | ||
|
|
80cbf31e72 | ||
|
|
7b238e1df4 | ||
|
|
2f4912b384 | ||
|
|
c2a6d5bc50 | ||
|
|
a42d278a4a | ||
|
|
ce3cb3c98c | ||
|
|
7da2254a38 | ||
|
|
c30aacd11c | ||
|
|
f7c5521c78 | ||
|
|
3db262bdf4 | ||
|
|
adf80936bd | ||
|
|
95666730ed | ||
|
|
77ce7af62b | ||
|
|
b59ff28581 | ||
|
|
ea2a81fe6a | ||
|
|
a3dcbc0638 | ||
|
|
d0a9371db8 | ||
|
|
5c3488d5d4 | ||
|
|
b4f064c9c6 | ||
|
|
2b0a3bc4e2 | ||
|
|
83a881106c | ||
|
|
87e9976a08 | ||
|
|
102fcda6ff | ||
|
|
44f6a26061 | ||
|
|
c779483e62 | ||
|
|
8f142b7a5c | ||
|
|
9f38494f5c | ||
|
|
ee25d79009 | ||
|
|
e95f533603 | ||
|
|
cc6b4fdbf8 | ||
|
|
25a4af1f2e | ||
|
|
567c762357 | ||
|
|
0ff294b17c | ||
|
|
069b9cf704 | ||
|
|
1116a13e31 | ||
|
|
7b6e4251a0 | ||
|
|
0ee9c2ea3b | ||
|
|
c095c1316a | ||
|
|
26e80d7c19 | ||
|
|
f9cdda8656 | ||
|
|
7375883297 | ||
|
|
5baef081e1 | ||
|
|
afb30f4982 | ||
|
|
9932a53026 | ||
|
|
1267b3b4db | ||
|
|
633392a69c | ||
|
|
ea18c2e07c | ||
|
|
6a157a4335 | ||
|
|
f0a619ef9c | ||
|
|
d1f2f24e7f | ||
|
|
883ae642f2 | ||
|
|
86f2a8064d | ||
|
|
938ed93f59 | ||
|
|
5cd24adcef | ||
|
|
bf4cc1ff4e | ||
|
|
85f650a31f | ||
|
|
a5be909db6 | ||
|
|
9415e11953 | ||
|
|
feaab1c8ef | ||
|
|
8a657955d8 | ||
|
|
3246316b1b | ||
|
|
98e0ed8635 | ||
|
|
d752f77423 | ||
|
|
e9f2ac4500 | ||
|
|
dde9114b56 | ||
|
|
af215a68e6 | ||
|
|
9a662eda4d | ||
|
|
3c7c001175 | ||
|
|
a0d7cddc4d | ||
|
|
6f6352adff | ||
|
|
0fb22f8237 | ||
|
|
eb8043b7da | ||
|
|
864bdfb63b | ||
|
|
16a343c671 | ||
|
|
cafb9fc466 | ||
|
|
309c38e93b | ||
|
|
94452c3ebc | ||
|
|
f9177cc67d | ||
|
|
70780c81df | ||
|
|
0a874f55c6 | ||
|
|
9678abb2db | ||
|
|
9f9a41cc40 | ||
|
|
74d63c472a | ||
|
|
444f85951a | ||
|
|
f4382f3981 | ||
|
|
4cad88b2dd | ||
|
|
f025245430 | ||
|
|
6499d3c510 | ||
|
|
1cd1a2c5f2 | ||
|
|
28e9632228 | ||
|
|
5b788d96b0 | ||
|
|
f86c441853 | ||
|
|
be174160cf | ||
|
|
10b126097a | ||
|
|
af427b231b | ||
|
|
fe1b83aa7b | ||
|
|
0487cbbb33 | ||
|
|
7e92667b73 | ||
|
|
831a3592dd | ||
|
|
e86159cea9 | ||
|
|
fd7d5966de | ||
|
|
04f2d31f4a | ||
|
|
bb3e8924a0 | ||
|
|
f90138eb2e | ||
|
|
e1e3c6c033 | ||
|
|
565219c53e | ||
|
|
b627003cc4 | ||
|
|
c23b6a866a | ||
|
|
424eb4fff2 | ||
|
|
ec0831d4e7 | ||
|
|
e5954bd31c | ||
|
|
e7be5831c9 | ||
|
|
795df715dd | ||
|
|
f9443be88a | ||
|
|
feaf0d0c45 | ||
|
|
da164b4f33 | ||
|
|
79ec7f083c | ||
|
|
cab6771375 | ||
|
|
bf23a162d6 | ||
|
|
6df812d62c | ||
|
|
f4811ffb41 | ||
|
|
f573af67f8 | ||
|
|
6a2bbb216c | ||
|
|
e233cdb831 | ||
|
|
f5a8a87bdb | ||
|
|
015201b4a8 | ||
|
|
ea29cdff37 | ||
|
|
9acd283e82 | ||
|
|
17f77f9c42 | ||
|
|
581f19d46f | ||
|
|
536c134b85 | ||
|
|
f05ec7f5ce | ||
|
|
75097cfe73 | ||
|
|
dc6221f14f | ||
|
|
a22420adc5 | ||
|
|
a551819af3 | ||
|
|
8ed8dc5986 | ||
|
|
e13a994092 | ||
|
|
e0428915a0 |
No files matched your search
@@ -0,0 +1,33 @@
|
||||
module.exports = {
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/eslint-recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'prettier/@typescript-eslint',
|
||||
'plugin:prettier/recommended',
|
||||
],
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: ['@typescript-eslint', 'prettier', 'json'],
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
},
|
||||
env: {
|
||||
es2020: true,
|
||||
node: true,
|
||||
},
|
||||
rules: {
|
||||
'prettier/prettier': 'error',
|
||||
'sort-imports': 'error',
|
||||
},
|
||||
ignorePatterns: [
|
||||
'.git/',
|
||||
'.vscode',
|
||||
'build/',
|
||||
'dist/',
|
||||
'coverage/',
|
||||
'LICENSE.md',
|
||||
'modules/',
|
||||
'node_modules/',
|
||||
'!.*',
|
||||
],
|
||||
};
|
||||
@@ -1,60 +0,0 @@
|
||||
name: 'Setup Node.js'
|
||||
description: 'Setup Node and install dependencies using cache'
|
||||
inputs:
|
||||
save-cache:
|
||||
description: 'Save cache when needed'
|
||||
required: false
|
||||
default: 'false'
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
|
||||
steps:
|
||||
- name: ⚙️ Calculate `CACHE_KEY`
|
||||
shell: bash
|
||||
run: |
|
||||
echo 'CACHE_KEY=node_modules-${{
|
||||
hashFiles('.node-version', 'pnpm-lock.yaml')
|
||||
}}' >> "$GITHUB_ENV"
|
||||
|
||||
- name: ♻️ Restore `node_modules`
|
||||
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
id: node-modules-restore
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ env.CACHE_KEY }}
|
||||
enableCrossOsArchive: true
|
||||
|
||||
- name: Calculate `CACHE_HIT`
|
||||
shell: bash
|
||||
run: |
|
||||
echo 'CACHE_HIT=${{
|
||||
(steps.node-modules-restore.outputs.cache-hit == 'true') && 'true' || ''
|
||||
}}' >> "$GITHUB_ENV"
|
||||
|
||||
- name: ⚙️ Setup pnpm
|
||||
uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
|
||||
with:
|
||||
standalone: true
|
||||
|
||||
- name: ⚙️ Setup Node.js ${{ inputs.node-version }}
|
||||
uses: actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce # v7.2.0
|
||||
with:
|
||||
node-version-file: .node-version
|
||||
cache: ${{ env.CACHE_HIT != 'true' && 'pnpm' || '' }}
|
||||
|
||||
- name: 📥 Install dependencies
|
||||
if: env.CACHE_HIT != 'true'
|
||||
shell: bash
|
||||
run: pnpm install --frozen-lockfile
|
||||
env:
|
||||
# Other environment variables
|
||||
HUSKY: '0' # By default do not run HUSKY install
|
||||
|
||||
- name: ♻️ Write `node_modules` cache
|
||||
if: inputs.save-cache == 'true' && env.CACHE_HIT != 'true'
|
||||
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ env.CACHE_KEY }}
|
||||
enableCrossOsArchive: true
|
||||
+32
-59
@@ -1,70 +1,43 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["github>renovatebot/.github", ":pinDependencies"],
|
||||
"extends": [
|
||||
"config:base",
|
||||
":rebaseStalePrs",
|
||||
":pinDependencies",
|
||||
":masterIssue",
|
||||
"docker:enableMajor"
|
||||
],
|
||||
"prCreation": "not-pending",
|
||||
"lockFileMaintenance": {
|
||||
"enabled": true,
|
||||
"masterIssueApproval": true
|
||||
},
|
||||
"major": {
|
||||
"stabilityDays": 3,
|
||||
"masterIssueApproval": true
|
||||
},
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "Use build semantic type for some deps",
|
||||
"matchPackageNames": ["@vercel/ncc", "typescript"],
|
||||
"semanticCommitType": "build"
|
||||
"description": "Automerge devDependencies updates",
|
||||
"depTypeList": ["devDependencies"],
|
||||
"updateTypes": ["pin", "digest", "patch", "minor"],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"description": "Use `build` semantic commit scope for lockfile maintenance",
|
||||
"matchUpdateTypes": ["lockFileMaintenance"],
|
||||
"semanticCommitType": "build"
|
||||
},
|
||||
{
|
||||
"description": "Use ci semantic type for some deps",
|
||||
"matchFileNames": [".github/workflows/**"],
|
||||
"semanticCommitType": "ci"
|
||||
},
|
||||
{
|
||||
"description": "Don't require approval for renovate",
|
||||
"matchPackageNames": ["ghcr.io/renovatebot/renovate", "renovatebot/github-action"],
|
||||
"dependencyDashboardApproval": false
|
||||
},
|
||||
{
|
||||
"description": "Don't pin renovate updates",
|
||||
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
||||
"pinDigests": false
|
||||
},
|
||||
{
|
||||
"description": "Use feat! semantic type for renovate major",
|
||||
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
||||
"matchUpdateTypes": ["major"],
|
||||
"commitMessagePrefix": "feat(deps)!:",
|
||||
"additionalBranchPrefix": "renovate-major"
|
||||
"description": "Automerge Renovate updates",
|
||||
"packageNames": ["renovate/renovate"],
|
||||
"updateTypes": ["major", "minor", "patch"],
|
||||
"semanticCommitType": "fix",
|
||||
"automerge": true,
|
||||
"masterIssueApproval": false
|
||||
}
|
||||
],
|
||||
"customManagers": [
|
||||
"regexManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"managerFilePatterns": ["README.md"],
|
||||
"matchStrings": ["uses: renovatebot/github-action@(?<currentValue>[^\\s]+)"],
|
||||
"depNameTemplate": "renovatebot/github-action",
|
||||
"datasourceTemplate": "github-releases"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"managerFilePatterns": ["README.md"],
|
||||
"matchStrings": ["renovate-version: (?<currentValue>[^\\s]+)"],
|
||||
"depNameTemplate": "ghcr.io/renovatebot/renovate",
|
||||
"datasourceTemplate": "docker"
|
||||
},
|
||||
{
|
||||
"description": "Update renovate version in action.yml",
|
||||
"customType": "regex",
|
||||
"managerFilePatterns": ["action.yml"],
|
||||
"matchStrings": ["default: '(?<currentValue>[^\\s]+)' # renovate"],
|
||||
"depNameTemplate": "ghcr.io/renovatebot/renovate",
|
||||
"datasourceTemplate": "docker"
|
||||
},
|
||||
{
|
||||
"description": "Update renovate version in src/docker.ts",
|
||||
"customType": "regex",
|
||||
"managerFilePatterns": ["src/docker.ts"],
|
||||
"matchStrings": ["version = '(?<currentValue>[^\\s]+)'; // renovate"],
|
||||
"depNameTemplate": "ghcr.io/renovatebot/renovate",
|
||||
"datasourceTemplate": "docker"
|
||||
"fileMatch": ["^src/docker\\.ts$"],
|
||||
"matchStrings": [
|
||||
"// renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s+readonly\\s+tag\\s+=\\s+'(?<currentValue>.+?)';"
|
||||
],
|
||||
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
# This file is machine-generated by `gh actions-lock`.
|
||||
# Do not edit by hand; run `gh actions-lock` to update.
|
||||
# Docs: https://gh.io/actions-lockfile
|
||||
version: 'v0.0.3'
|
||||
workflows:
|
||||
'.github/workflows/build.yml':
|
||||
- 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
|
||||
- 'actions/checkout@v7.0.1'
|
||||
- 'actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce'
|
||||
- 'pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115'
|
||||
- 'wagoid/commitlint-github-action@v6.2.1'
|
||||
- 'zizmorcore/zizmor-action@v0.9.2'
|
||||
dependencies:
|
||||
'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9':
|
||||
ref: 'v6.1.0'
|
||||
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
|
||||
owner_id: 44036562
|
||||
repo_id: 215566462
|
||||
'actions/checkout@v7.0.1':
|
||||
ref: 'v7.0.1'
|
||||
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
|
||||
owner_id: 44036562
|
||||
repo_id: 197814629
|
||||
'actions/setup-node@8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce':
|
||||
ref: 'v7.2.0'
|
||||
commit: 'sha1-8fccf151e3ba8038c300f83b40c8fd1e94f9c5ce'
|
||||
owner_id: 44036562
|
||||
repo_id: 189476904
|
||||
'github/codeql-action@33d7b85da1a04171e211befe2c739303b9a4c066':
|
||||
ref: 'v4.39.3'
|
||||
commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066'
|
||||
owner_id: 9919
|
||||
repo_id: 259445878
|
||||
'pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115':
|
||||
ref: 'v6.1.1'
|
||||
commit: 'sha1-73e46992e05b19abd31f2f3c20e0e7370d762115'
|
||||
owner_id: 21320719
|
||||
repo_id: 262289747
|
||||
'wagoid/commitlint-github-action@v6.2.1':
|
||||
ref: 'v6.2.1'
|
||||
commit: 'sha1-b948419dd99f3fd78a6548d48f94e3df7f6bf3ed'
|
||||
owner_id: 7467450
|
||||
repo_id: 212203144
|
||||
'zizmorcore/zizmor-action@v0.9.2':
|
||||
ref: 'v0.9.2'
|
||||
commit: 'sha1-1b4550e929643b8b26a62303c6bd64814271a4f1'
|
||||
owner_id: 210636713
|
||||
repo_id: 985558803
|
||||
uses:
|
||||
- 'github/codeql-action@33d7b85da1a04171e211befe2c739303b9a4c066'
|
||||
+81
-166
@@ -2,217 +2,132 @@ name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- 'renovate/**'
|
||||
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
RENOVATE_VERSION: 45.16.0 # renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
cleanup:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
timeout-minutes: 5
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- name: github-cleanup
|
||||
uses: renovatebot/internal-tools@v0
|
||||
continue-on-error: true
|
||||
with:
|
||||
persist-credentials: false
|
||||
show-progress: false
|
||||
|
||||
- name: 📥 Setup Node.js
|
||||
uses: $/.github/actions/setup-node
|
||||
with:
|
||||
save-cache: true
|
||||
command: github-cleanup
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
commitlint:
|
||||
needs: [cleanup]
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository_owner != github.event.pull_request.head.repo.owner.login }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
uses: actions/checkout@v2.1.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
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@v6.2.1
|
||||
continue-on-error: true
|
||||
uses: wagoid/commitlint-github-action@v1.6.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
lint:
|
||||
needs:
|
||||
- prepare
|
||||
needs: [cleanup]
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository_owner != github.event.pull_request.head.repo.owner.login }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
uses: actions/checkout@v2.1.0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v1.4.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
show-progress: false
|
||||
|
||||
- name: 📥 Setup Node.js
|
||||
uses: $/.github/actions/setup-node
|
||||
|
||||
node-version: '12.x'
|
||||
- name: Install project
|
||||
run: npm ci
|
||||
- name: Lint
|
||||
run: pnpm lint
|
||||
|
||||
lint-actions:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
show-progress: false
|
||||
|
||||
- name: Run zizmor
|
||||
uses: zizmorcore/zizmor-action@v0.9.2
|
||||
with:
|
||||
version: 1.33.1
|
||||
run: npm run lint
|
||||
|
||||
e2e:
|
||||
needs:
|
||||
- prepare
|
||||
needs: [cleanup]
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository_owner != github.event.pull_request.head.repo.owner.login }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
configurationFile:
|
||||
- example/renovate-config.js
|
||||
- example/renovate-config.json
|
||||
configurationFile: [example/renovate-config.js, example/renovate.json]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
show-progress: false
|
||||
|
||||
- name: 📥 Setup Node.js
|
||||
uses: $/.github/actions/setup-node
|
||||
|
||||
uses: actions/checkout@v2.1.0
|
||||
- name: Install project
|
||||
run: npm ci
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
|
||||
- name: Configure renovate token
|
||||
run: |
|
||||
if [[ "${RENOVATE_TOKEN}" != "" ]]; then
|
||||
echo "RENOVATE_TOKEN=${RENOVATE_TOKEN}" >> $GITHUB_ENV
|
||||
else
|
||||
echo "RENOVATE_TOKEN=${GITHUB_TOKEN}" >> $GITHUB_ENV
|
||||
fi
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
||||
run: npm run build
|
||||
- name: Renovate test
|
||||
uses: ./ # zizmor: ignore[self-repository] tests the action built in the workspace
|
||||
env:
|
||||
LOG_LEVEL: debug
|
||||
uses: ./
|
||||
with:
|
||||
configurationFile: ${{ matrix.configurationFile }}
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
||||
- name: Renovate test with entrypoint
|
||||
uses: ./ # zizmor: ignore[self-repository] tests the action built in the workspace
|
||||
env:
|
||||
LOG_LEVEL: debug
|
||||
with:
|
||||
configurationFile: ${{ matrix.configurationFile }}
|
||||
renovate-version: ${{ env.RENOVATE_VERSION }}
|
||||
docker-cmd-file: example/entrypoint.sh
|
||||
docker-user: root
|
||||
|
||||
- name: Renovate test with image and digest
|
||||
uses: ./ # zizmor: ignore[self-repository] tests the action built in the workspace
|
||||
env:
|
||||
LOG_LEVEL: debug
|
||||
with:
|
||||
configurationFile: ${{ matrix.configurationFile }}
|
||||
renovate-image: ghcr.io/renovatebot/renovate:44.115.4@sha256:03e987bec9fbda0cf39ef63f2d293e821d96525119e1ab3d0ff87d5b3ef3edd9
|
||||
|
||||
renovate-config-validator:
|
||||
build:
|
||||
needs: [lint, commitlint, e2e]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
container:
|
||||
image: ghcr.io/renovatebot/renovate:45.16.0@sha256:125f2e3b20e406e7c3393b56b48f6883ed3d4dc8a1bec50c43326a21da932769
|
||||
# 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@v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
show-progress: false
|
||||
|
||||
- name: Validate Renovate configuration
|
||||
working-directory: example
|
||||
run: |
|
||||
renovate-config-validator renovate-config.js renovate-config.json
|
||||
- run: echo 'dummy'
|
||||
|
||||
release:
|
||||
needs:
|
||||
- lint
|
||||
- commitlint
|
||||
- lint-actions
|
||||
- e2e
|
||||
- renovate-config-validator
|
||||
needs: [build]
|
||||
runs-on: ubuntu-latest
|
||||
if: |
|
||||
startsWith(github.event.commits[0].message,
|
||||
'fix(deps): update renovate/renovate docker tag ')
|
||||
&& github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- name: Setup Git user
|
||||
shell: bash
|
||||
run: |
|
||||
git config --global core.autocrlf false
|
||||
git config --global core.symlinks true
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1 # zizmor: ignore[artipacked] pushes the release branch
|
||||
uses: actions/checkout@v2.1.0
|
||||
with:
|
||||
fetch-depth: 0 # required for semantic release
|
||||
fetch-depth: 0
|
||||
ref: 'release'
|
||||
show-progress: false
|
||||
filter: blob:none # we don't need all blobs, only the full tree
|
||||
|
||||
- name: fetch pr
|
||||
if: ${{github.event_name == 'pull_request'}}
|
||||
run: git fetch origin +$GH_SHA:$GH_REF
|
||||
env:
|
||||
GH_SHA: ${{ github.sha }}
|
||||
GH_REF: ${{ github.ref }}
|
||||
|
||||
- name: Merge main
|
||||
id: merge
|
||||
- name: Fetch tags
|
||||
run: git fetch --tags
|
||||
- name: Setup Git user
|
||||
run: |
|
||||
git merge --no-ff -Xtheirs -m "skip: merge ($GH_SHA) [skip release]" $GH_SHA
|
||||
commit=$(git rev-parse HEAD)
|
||||
env:
|
||||
GH_SHA: ${{ github.sha }}
|
||||
|
||||
- name: 📥 Setup Node.js
|
||||
uses: $/.github/actions/setup-node
|
||||
|
||||
- name: Push release branch
|
||||
run: git push origin release:release
|
||||
if: ${{ github.ref_name == github.event.repository.default_branch }}
|
||||
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
- name: Merge master
|
||||
run: |
|
||||
git merge -m 'chore(release): merge master (${{ github.sha }})' ${{ github.sha }}
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v1.4.1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- name: Install project
|
||||
run: npm ci --ignore-scripts
|
||||
- name: Get version
|
||||
id: release
|
||||
run: npm run release:version
|
||||
- name: Release
|
||||
run: npm run release -- "${{ steps.release.outputs.version }}"
|
||||
- name: Get changelog section
|
||||
id: changelog
|
||||
run: |
|
||||
# override for semantic-release
|
||||
export GITHUB_REF=refs/heads/release GITHUB_SHA=${{ steps.merge.outputs.commit }}
|
||||
pnpm release
|
||||
if: ${{ github.ref_name == github.event.repository.default_branch }}
|
||||
changelog="$(git show --unified=0 CHANGELOG.md \
|
||||
| tail +12 \
|
||||
| sed -e 's/^\+//' \
|
||||
| sed -z 's/\n/%0A/g;s/\r/%0D/g')"
|
||||
echo "::set-output name=changelog::${changelog}"
|
||||
- name: Publish release
|
||||
run: git push --follow-tags
|
||||
- name: Publish GitHub release
|
||||
uses: actions/create-release@v1.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: v${{ steps.release.outputs.version }}
|
||||
release_name: v${{ steps.release.outputs.version }}
|
||||
body: |
|
||||
*See the the [changelog](
|
||||
https://github.com/${{ github.repository }}/blob/release/CHANGELOG.md
|
||||
) for changes in all releases.*
|
||||
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
+1
-4
@@ -187,7 +187,7 @@ typings/
|
||||
# nuxt.js build output
|
||||
.nuxt
|
||||
|
||||
# react / gatsby
|
||||
# react / gatsby
|
||||
public/
|
||||
|
||||
# vuepress build output
|
||||
@@ -300,6 +300,3 @@ dkms.conf
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
|
||||
|
||||
/.pnpm-store
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
commitlint --edit "$1"
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
lint-staged
|
||||
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
hooks: {
|
||||
'pre-commit': 'lint-staged',
|
||||
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
'*.{ts,tsx,js,jsx,json}': ['npm run lint-es:file:fix'],
|
||||
'*.{vue,ts,css,less,scss,html,htm,md,markdown,yml,yaml}': [
|
||||
'npm run format:file',
|
||||
],
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"*.{js,ts,cjs,mjs}": ["oxlint --fix", "oxfmt"],
|
||||
"!*.{js,ts,cjs,mjs}": "oxfmt --no-error-on-unmatched-pattern"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
24.23.0
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
||||
"singleQuote": true,
|
||||
"sortPackageJson": {},
|
||||
"ignorePatterns": ["LICENSE.md", "pnpm-lock.yaml"]
|
||||
}
|
||||
-102
@@ -1,102 +0,0 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
||||
"plugins": ["eslint", "typescript", "import", "vitest", "promise", "oxc"],
|
||||
"jsPlugins": ["@containerbase/oxlint-plugin"],
|
||||
"options": {
|
||||
"typeAware": true,
|
||||
"reportUnusedDisableDirectives": "error"
|
||||
},
|
||||
"categories": {
|
||||
"correctness": "error"
|
||||
},
|
||||
"env": {
|
||||
"builtin": true,
|
||||
"node": true
|
||||
},
|
||||
"ignorePatterns": ["dist/", "coverage/", ".claude/worktrees/", ".pnpm-store"],
|
||||
"rules": {
|
||||
"containerbase/enforce-ts-extension": "error",
|
||||
"containerbase/no-undeclared-dependencies": "error",
|
||||
"containerbase/organize-imports": "error",
|
||||
"containerbase/test-root-describe": "error",
|
||||
|
||||
"import/no-cycle": "error",
|
||||
"import/no-duplicates": "error",
|
||||
"import/export": "error",
|
||||
|
||||
"curly": ["error", "all"],
|
||||
"no-var": "error",
|
||||
"prefer-const": "error",
|
||||
"prefer-rest-params": "error",
|
||||
"prefer-spread": "error",
|
||||
"no-empty": "error",
|
||||
"no-prototype-builtins": "error",
|
||||
"no-useless-escape": "error",
|
||||
"no-fallthrough": "error",
|
||||
"no-unused-vars": ["error", { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }],
|
||||
"no-unused-expressions": "error",
|
||||
"no-empty-function": "error",
|
||||
"no-array-constructor": "error",
|
||||
|
||||
"sort-imports": [
|
||||
"error",
|
||||
{
|
||||
"ignoreCase": false,
|
||||
"ignoreDeclarationSort": true,
|
||||
"ignoreMemberSort": false,
|
||||
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"]
|
||||
}
|
||||
],
|
||||
|
||||
"typescript/unbound-method": ["error", { "ignoreStatic": true }],
|
||||
"typescript/restrict-plus-operands": "error",
|
||||
"typescript/restrict-template-expressions": "error",
|
||||
"typescript/no-empty-object-type": "error",
|
||||
"typescript/ban-ts-comment": "error",
|
||||
"typescript/no-explicit-any": "error",
|
||||
"typescript/no-namespace": "error",
|
||||
"typescript/no-non-null-assertion": "error",
|
||||
"typescript/no-require-imports": "error",
|
||||
"typescript/no-unsafe-argument": "error",
|
||||
"typescript/no-unsafe-assignment": "error",
|
||||
"typescript/no-unsafe-call": "error",
|
||||
"typescript/no-unsafe-member-access": "error",
|
||||
"typescript/no-unsafe-return": "error",
|
||||
"typescript/no-unsafe-function-type": "error",
|
||||
"typescript/no-wrapper-object-types": "error",
|
||||
"typescript/only-throw-error": "error",
|
||||
"typescript/prefer-promise-reject-errors": "error",
|
||||
"typescript/require-await": "error",
|
||||
"typescript/triple-slash-reference": "error",
|
||||
"typescript/no-unsafe-enum-comparison": "error",
|
||||
"typescript/no-unnecessary-type-assertion": "error",
|
||||
"typescript/no-redundant-type-constituents": "error",
|
||||
"typescript/no-duplicate-type-constituents": "error",
|
||||
"typescript/no-base-to-string": "error",
|
||||
"typescript/no-misused-promises": "error",
|
||||
"typescript/no-floating-promises": "error",
|
||||
"typescript/await-thenable": "error",
|
||||
"typescript/no-for-in-array": "error",
|
||||
"typescript/no-implied-eval": "error",
|
||||
"typescript/no-array-delete": "error",
|
||||
"typescript/no-this-alias": "error",
|
||||
|
||||
"promise/always-return": "error",
|
||||
"promise/catch-or-return": "error",
|
||||
"promise/no-return-wrap": "error",
|
||||
"promise/param-names": "error",
|
||||
"promise/valid-params": "error",
|
||||
|
||||
"vitest/require-mock-type-parameters": "off",
|
||||
"vitest/require-to-throw-message": "off"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["tools/**", "commitlint.config.js"],
|
||||
"rules": {
|
||||
"containerbase/no-undeclared-dependencies": ["error", { "allowDevDependencies": true }],
|
||||
"typescript/no-explicit-any": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
.git/
|
||||
.vscode
|
||||
build/
|
||||
dist/
|
||||
coverage/
|
||||
LICENSE.md
|
||||
modules/
|
||||
node_modules/
|
||||
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
singleQuote: true,
|
||||
};
|
||||
@@ -1,96 +0,0 @@
|
||||
{
|
||||
"branches": ["release"],
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
"@semantic-release/npm",
|
||||
[
|
||||
"@semantic-release/git",
|
||||
{
|
||||
"assets": ["dist", "package.json"],
|
||||
"message": "chore(release): ${nextRelease.version} [skip ci]"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/github",
|
||||
{
|
||||
"releasedLabels": false,
|
||||
"successComment": false
|
||||
}
|
||||
]
|
||||
],
|
||||
"analyzeCommits": {
|
||||
"releaseRules": [
|
||||
{
|
||||
"type": "docs",
|
||||
"scope": "readme.md",
|
||||
"release": "patch"
|
||||
},
|
||||
{
|
||||
"type": "build",
|
||||
"release": "patch"
|
||||
},
|
||||
{
|
||||
"type": "skip",
|
||||
"release": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"preset": "conventionalcommits",
|
||||
"presetConfig": {
|
||||
"types": [
|
||||
{
|
||||
"type": "feat",
|
||||
"section": "Features"
|
||||
},
|
||||
{
|
||||
"type": "feature",
|
||||
"section": "Features"
|
||||
},
|
||||
{
|
||||
"type": "fix",
|
||||
"section": "Bug Fixes"
|
||||
},
|
||||
{
|
||||
"type": "perf",
|
||||
"section": "Performance Improvements"
|
||||
},
|
||||
{
|
||||
"type": "revert",
|
||||
"section": "Reverts"
|
||||
},
|
||||
{
|
||||
"type": "docs",
|
||||
"section": "Documentation"
|
||||
},
|
||||
{
|
||||
"type": "style",
|
||||
"section": "Styles"
|
||||
},
|
||||
{
|
||||
"type": "chore",
|
||||
"section": "Miscellaneous Chores"
|
||||
},
|
||||
{
|
||||
"type": "refactor",
|
||||
"section": "Code Refactoring"
|
||||
},
|
||||
{
|
||||
"type": "test",
|
||||
"section": "Tests"
|
||||
},
|
||||
{
|
||||
"type": "build",
|
||||
"section": "Build System"
|
||||
},
|
||||
{
|
||||
"type": "ci",
|
||||
"section": "Continuous Integration"
|
||||
},
|
||||
{
|
||||
"type": "skip",
|
||||
"hidden": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
module.exports = {
|
||||
scripts: {
|
||||
prerelease:
|
||||
'if [ "$(git branch --show-current)" != "release" ]; then exit 1; fi',
|
||||
},
|
||||
commitAll: true,
|
||||
};
|
||||
+679
-1
@@ -1,3 +1,681 @@
|
||||
# Changelog
|
||||
|
||||
You can find the changelogs on the [GitHub releases page for `renovatebot/github-action`](https://github.com/renovatebot/github-action/releases/).
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
### [23.19.4](https://github.com/renovatebot/github-action/compare/v23.19.2...v23.19.4) (2020-09-08)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.19.4 ([#238](https://github.com/renovatebot/github-action/issues/238)) ([f749f42](https://github.com/renovatebot/github-action/commit/f749f4257ce08d6e413821d7e5de07190d99a4d8))
|
||||
|
||||
### [23.19.2](https://github.com/renovatebot/github-action/compare/v23.19.1...v23.19.2) (2020-09-07)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.19.2 ([#237](https://github.com/renovatebot/github-action/issues/237)) ([19a48c1](https://github.com/renovatebot/github-action/commit/19a48c156d4228f070b36fbfe746cdbef8ab700e))
|
||||
|
||||
### [23.19.1](https://github.com/renovatebot/github-action/compare/v23.19.0...v23.19.1) (2020-09-07)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.19.1 ([#236](https://github.com/renovatebot/github-action/issues/236)) ([875b9f7](https://github.com/renovatebot/github-action/commit/875b9f7e5eb8de94515af6a60470a2999cac5668))
|
||||
|
||||
## [23.19.0](https://github.com/renovatebot/github-action/compare/v23.18.1...v23.19.0) (2020-09-07)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.19.0 ([#234](https://github.com/renovatebot/github-action/issues/234)) ([8f841eb](https://github.com/renovatebot/github-action/commit/8f841eb4565fd26ca4ae7e31cdcf36c0128f366f))
|
||||
|
||||
### [23.18.1](https://github.com/renovatebot/github-action/compare/v23.18.0...v23.18.1) (2020-09-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.18.1 ([#233](https://github.com/renovatebot/github-action/issues/233)) ([1ddf613](https://github.com/renovatebot/github-action/commit/1ddf6132f4be4302455c7b06882269936503ecb6))
|
||||
|
||||
## [23.18.0](https://github.com/renovatebot/github-action/compare/v23.16.4...v23.18.0) (2020-09-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.18.0 ([#232](https://github.com/renovatebot/github-action/issues/232)) ([c862f65](https://github.com/renovatebot/github-action/commit/c862f65f514e03bcc54af72f93641551cbda3e55))
|
||||
|
||||
### [23.16.4](https://github.com/renovatebot/github-action/compare/v23.16.3...v23.16.4) (2020-09-03)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.16.4 ([#231](https://github.com/renovatebot/github-action/issues/231)) ([3888542](https://github.com/renovatebot/github-action/commit/388854290da167e54ea0f4ebe7ae037bb7612180))
|
||||
|
||||
### [23.16.3](https://github.com/renovatebot/github-action/compare/v23.16.2...v23.16.3) (2020-09-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.16.3 ([#230](https://github.com/renovatebot/github-action/issues/230)) ([225e01a](https://github.com/renovatebot/github-action/commit/225e01a2f6d85fe54707528c877b4f0a65e7df58))
|
||||
|
||||
### [23.16.2](https://github.com/renovatebot/github-action/compare/v23.16.0...v23.16.2) (2020-09-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.16.2 ([#228](https://github.com/renovatebot/github-action/issues/228)) ([61980d4](https://github.com/renovatebot/github-action/commit/61980d46d06d9a91951060be69c0e5b1d1fa2a7e))
|
||||
|
||||
## [23.16.0](https://github.com/renovatebot/github-action/compare/v23.14.3...v23.16.0) (2020-09-01)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.16.0 ([#226](https://github.com/renovatebot/github-action/issues/226)) ([74aede9](https://github.com/renovatebot/github-action/commit/74aede991203265e2846cd5f201862f50ad7fef4))
|
||||
|
||||
### [23.14.3](https://github.com/renovatebot/github-action/compare/v23.14.1...v23.14.3) (2020-09-01)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.14.3 ([#225](https://github.com/renovatebot/github-action/issues/225)) ([53543ef](https://github.com/renovatebot/github-action/commit/53543ef4b8a35c6c6e42928366f10f5eb185610a))
|
||||
|
||||
### [23.14.1](https://github.com/renovatebot/github-action/compare/v23.14.0...v23.14.1) (2020-08-31)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.14.1 ([#223](https://github.com/renovatebot/github-action/issues/223)) ([2a2132c](https://github.com/renovatebot/github-action/commit/2a2132cd40db82a77fa6efff4a9ed397c81a9f6d))
|
||||
|
||||
## [23.14.0](https://github.com/renovatebot/github-action/compare/v23.13.1...v23.14.0) (2020-08-31)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.14.0 ([#222](https://github.com/renovatebot/github-action/issues/222)) ([edd8e43](https://github.com/renovatebot/github-action/commit/edd8e4349f2260772032d74320f240532a79e2b7))
|
||||
|
||||
### [23.13.1](https://github.com/renovatebot/github-action/compare/v23.0.2...v23.13.1) (2020-08-31)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.13.1 ([#221](https://github.com/renovatebot/github-action/issues/221)) ([d9844df](https://github.com/renovatebot/github-action/commit/d9844dffd3660763a92c70f2b44be6a351c3ca36))
|
||||
|
||||
### [23.0.2](https://github.com/renovatebot/github-action/compare/v23.0.1...v23.0.2) (2020-08-26)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23.0.2 ([#215](https://github.com/renovatebot/github-action/issues/215)) ([e343e79](https://github.com/renovatebot/github-action/commit/e343e799cb91f3ff24181162486f53bf81501402))
|
||||
|
||||
### [23.0.1](https://github.com/renovatebot/github-action/compare/v22.19.2...v23.0.1) (2020-08-25)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v23 ([#214](https://github.com/renovatebot/github-action/issues/214)) ([24157ec](https://github.com/renovatebot/github-action/commit/24157ec7abaa900eef432c742becd925b08e6a83))
|
||||
|
||||
### [22.19.2](https://github.com/renovatebot/github-action/compare/v22.19.1...v22.19.2) (2020-08-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.19.2 ([#208](https://github.com/renovatebot/github-action/issues/208)) ([18fb8c7](https://github.com/renovatebot/github-action/commit/18fb8c71bdd66438394a4fbfb5d6570af7a7a3f4))
|
||||
|
||||
### [22.19.1](https://github.com/renovatebot/github-action/compare/v22.18.1...v22.19.1) (2020-08-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.19.1 ([#207](https://github.com/renovatebot/github-action/issues/207)) ([e777318](https://github.com/renovatebot/github-action/commit/e777318c4c63c5806145b6f5998d25dc02e467fe))
|
||||
|
||||
### [22.18.1](https://github.com/renovatebot/github-action/compare/v22.18.0...v22.18.1) (2020-08-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.18.1 ([#205](https://github.com/renovatebot/github-action/issues/205)) ([3a9834f](https://github.com/renovatebot/github-action/commit/3a9834fad5007129f3d8f68b87aa000e84dd1c04))
|
||||
|
||||
## [22.18.0](https://github.com/renovatebot/github-action/compare/v22.17.5...v22.18.0) (2020-08-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.18.0 ([#204](https://github.com/renovatebot/github-action/issues/204)) ([b9cd81c](https://github.com/renovatebot/github-action/commit/b9cd81c230c54649a6ab878b3818f015d0c18b62))
|
||||
|
||||
### [22.17.5](https://github.com/renovatebot/github-action/compare/v22.17.3...v22.17.5) (2020-08-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.17.5 ([#203](https://github.com/renovatebot/github-action/issues/203)) ([9affd5c](https://github.com/renovatebot/github-action/commit/9affd5cc90ee146ddfa4ff4c338111f771d66727))
|
||||
|
||||
### [22.17.3](https://github.com/renovatebot/github-action/compare/v22.17.2...v22.17.3) (2020-08-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.17.3 ([#202](https://github.com/renovatebot/github-action/issues/202)) ([103e519](https://github.com/renovatebot/github-action/commit/103e5198709aee62b5243e2ba6a8fded93559d6d))
|
||||
|
||||
### [22.17.2](https://github.com/renovatebot/github-action/compare/v22.17.1...v22.17.2) (2020-08-14)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.17.2 ([#199](https://github.com/renovatebot/github-action/issues/199)) ([79fb1d7](https://github.com/renovatebot/github-action/commit/79fb1d7dc06e264a6a991a499939170bca8e4282))
|
||||
|
||||
### [22.17.1](https://github.com/renovatebot/github-action/compare/v22.17.0...v22.17.1) (2020-08-14)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.17.1 ([#198](https://github.com/renovatebot/github-action/issues/198)) ([774a985](https://github.com/renovatebot/github-action/commit/774a98554bb60bf8ae7de2613bee3bd7726fa468))
|
||||
|
||||
## [22.17.0](https://github.com/renovatebot/github-action/compare/v22.16.2...v22.17.0) (2020-08-13)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.17.0 ([#197](https://github.com/renovatebot/github-action/issues/197)) ([53ddfc1](https://github.com/renovatebot/github-action/commit/53ddfc1c977d9616082b5ead5af0053cec1164e8))
|
||||
|
||||
### [22.16.2](https://github.com/renovatebot/github-action/compare/v22.16.1...v22.16.2) (2020-08-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.16.2 ([#196](https://github.com/renovatebot/github-action/issues/196)) ([82dbd03](https://github.com/renovatebot/github-action/commit/82dbd03c0dc85ee50fa208fa6b0d5cddef2b1613))
|
||||
|
||||
### [22.16.1](https://github.com/renovatebot/github-action/compare/v22.15.3...v22.16.1) (2020-08-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.16.1 ([#195](https://github.com/renovatebot/github-action/issues/195)) ([315376d](https://github.com/renovatebot/github-action/commit/315376d66a4fb2cdf6b267faffbf669191ec4886))
|
||||
|
||||
### [22.15.3](https://github.com/renovatebot/github-action/compare/v22.15.2...v22.15.3) (2020-08-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.15.3 ([#194](https://github.com/renovatebot/github-action/issues/194)) ([2de9a43](https://github.com/renovatebot/github-action/commit/2de9a43dc005c82b66c9a204154b65a61d7210fe))
|
||||
|
||||
### [22.15.2](https://github.com/renovatebot/github-action/compare/v22.15.1...v22.15.2) (2020-08-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.15.2 ([#193](https://github.com/renovatebot/github-action/issues/193)) ([da9a95a](https://github.com/renovatebot/github-action/commit/da9a95ae770eb4287ae11f96cf38bb4bf6f8dbd6))
|
||||
|
||||
### [22.15.1](https://github.com/renovatebot/github-action/compare/v22.15.0...v22.15.1) (2020-08-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.15.1 ([#192](https://github.com/renovatebot/github-action/issues/192)) ([5ea9cd9](https://github.com/renovatebot/github-action/commit/5ea9cd9b1e271dd8e46a4a092131b6957e0ba35b))
|
||||
|
||||
## [22.15.0](https://github.com/renovatebot/github-action/compare/v22.14.5...v22.15.0) (2020-08-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.15.0 ([#191](https://github.com/renovatebot/github-action/issues/191)) ([39efd8e](https://github.com/renovatebot/github-action/commit/39efd8e6ec2c6deac557398af75bafaca4d3ccb0))
|
||||
|
||||
### [22.14.5](https://github.com/renovatebot/github-action/compare/v22.14.1...v22.14.5) (2020-08-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.14.5 ([#190](https://github.com/renovatebot/github-action/issues/190)) ([b1689ac](https://github.com/renovatebot/github-action/commit/b1689acd8b39bed098d0e694e875afe8c704b04b))
|
||||
|
||||
### [22.14.1](https://github.com/renovatebot/github-action/compare/v22.14.0...v22.14.1) (2020-08-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.14.1 ([#189](https://github.com/renovatebot/github-action/issues/189)) ([d700043](https://github.com/renovatebot/github-action/commit/d7000432f646e6517310aeaabf75fad6cb033c2f))
|
||||
|
||||
## [22.14.0](https://github.com/renovatebot/github-action/compare/v22.13.1...v22.14.0) (2020-08-09)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.14.0 ([#187](https://github.com/renovatebot/github-action/issues/187)) ([3ceee18](https://github.com/renovatebot/github-action/commit/3ceee18d7b73c358b11541b0c241e25b2453fb60))
|
||||
|
||||
### [22.13.1](https://github.com/renovatebot/github-action/compare/v22.13.0...v22.13.1) (2020-08-07)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.13.1 ([#185](https://github.com/renovatebot/github-action/issues/185)) ([89cf8b1](https://github.com/renovatebot/github-action/commit/89cf8b1f3b09020c5ba5d2c19d1f3764fc94ecd5))
|
||||
|
||||
## [22.13.0](https://github.com/renovatebot/github-action/compare/v22.12.1...v22.13.0) (2020-08-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.13.0 ([#184](https://github.com/renovatebot/github-action/issues/184)) ([a84409e](https://github.com/renovatebot/github-action/commit/a84409eb193f6899142e6800800a027399132eff))
|
||||
|
||||
### [22.12.1](https://github.com/renovatebot/github-action/compare/v22.11.1...v22.12.1) (2020-08-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.12.1 ([#183](https://github.com/renovatebot/github-action/issues/183)) ([73d56c0](https://github.com/renovatebot/github-action/commit/73d56c0203fc59a4088a79df8cc0facb52ad6afc))
|
||||
|
||||
### [22.11.1](https://github.com/renovatebot/github-action/compare/v22.11.0...v22.11.1) (2020-08-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.11.1 ([#182](https://github.com/renovatebot/github-action/issues/182)) ([849d2f8](https://github.com/renovatebot/github-action/commit/849d2f8749ca58706985ae4844cf0c751e7a1a9d))
|
||||
|
||||
## [22.11.0](https://github.com/renovatebot/github-action/compare/v22.10.0...v22.11.0) (2020-08-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.11.0 ([#181](https://github.com/renovatebot/github-action/issues/181)) ([2f0265d](https://github.com/renovatebot/github-action/commit/2f0265d24070f2d905afaa90416f89a315dd3935))
|
||||
|
||||
## [22.10.0](https://github.com/renovatebot/github-action/compare/v22.9.0...v22.10.0) (2020-08-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.10.0 ([#180](https://github.com/renovatebot/github-action/issues/180)) ([c6f4851](https://github.com/renovatebot/github-action/commit/c6f485174fed148d87eb8da49fb00a0fb171a11f))
|
||||
|
||||
## [22.9.0](https://github.com/renovatebot/github-action/compare/v22.8.1...v22.9.0) (2020-08-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.9.0 ([#179](https://github.com/renovatebot/github-action/issues/179)) ([a77aca4](https://github.com/renovatebot/github-action/commit/a77aca4a20ba48c1a45f1eb28e2576c013fa2859))
|
||||
|
||||
### [22.8.1](https://github.com/renovatebot/github-action/compare/v22.8.0...v22.8.1) (2020-08-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.8.1 ([#178](https://github.com/renovatebot/github-action/issues/178)) ([d9ee18c](https://github.com/renovatebot/github-action/commit/d9ee18cd69845f0bb61ee89e56ad887f9a25c61a))
|
||||
|
||||
## [22.8.0](https://github.com/renovatebot/github-action/compare/v22.7.0...v22.8.0) (2020-08-03)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.8.0 ([#177](https://github.com/renovatebot/github-action/issues/177)) ([b14d3a5](https://github.com/renovatebot/github-action/commit/b14d3a5291d1de734b915daeab166896938c016a))
|
||||
|
||||
## [22.7.0](https://github.com/renovatebot/github-action/compare/v22.6.3...v22.7.0) (2020-07-30)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.7.0 ([#174](https://github.com/renovatebot/github-action/issues/174)) ([fd58cf9](https://github.com/renovatebot/github-action/commit/fd58cf9918500bb92807aba785f949638be606ab))
|
||||
|
||||
### [22.6.3](https://github.com/renovatebot/github-action/compare/v22.6.2...v22.6.3) (2020-07-29)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.6.3 ([#173](https://github.com/renovatebot/github-action/issues/173)) ([2acd0cd](https://github.com/renovatebot/github-action/commit/2acd0cdc27286db7715d1ba1d64148aebbd069ff))
|
||||
|
||||
### [22.6.2](https://github.com/renovatebot/github-action/compare/v22.6.0...v22.6.2) (2020-07-29)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.6.2 ([#172](https://github.com/renovatebot/github-action/issues/172)) ([1122c16](https://github.com/renovatebot/github-action/commit/1122c1651bdc54334a040b1f27871c653eaba1eb))
|
||||
|
||||
## [22.6.0](https://github.com/renovatebot/github-action/compare/v22.5.1...v22.6.0) (2020-07-29)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.6.0 ([#171](https://github.com/renovatebot/github-action/issues/171)) ([4f6b9be](https://github.com/renovatebot/github-action/commit/4f6b9beebc53f0c6a0d2550d257fa69c15022de3))
|
||||
|
||||
### [22.5.1](https://github.com/renovatebot/github-action/compare/v22.5.0...v22.5.1) (2020-07-29)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.5.1 ([#170](https://github.com/renovatebot/github-action/issues/170)) ([52337d6](https://github.com/renovatebot/github-action/commit/52337d69166be005b26f34f63c126c6ee0aeb700))
|
||||
|
||||
## [22.5.0](https://github.com/renovatebot/github-action/compare/v22.4.0...v22.5.0) (2020-07-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.5.0 ([#169](https://github.com/renovatebot/github-action/issues/169)) ([d40a686](https://github.com/renovatebot/github-action/commit/d40a686c6d211214be7a3b582236b05b04ae7b74))
|
||||
|
||||
## [22.4.0](https://github.com/renovatebot/github-action/compare/v22.3.4...v22.4.0) (2020-07-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.4.0 ([#167](https://github.com/renovatebot/github-action/issues/167)) ([42ec109](https://github.com/renovatebot/github-action/commit/42ec109678be2a48eae79d429ee4c74ce3a8c3a9))
|
||||
|
||||
### [22.3.4](https://github.com/renovatebot/github-action/compare/v22.3.3...v22.3.4) (2020-07-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.3.4 ([#166](https://github.com/renovatebot/github-action/issues/166)) ([aa6c221](https://github.com/renovatebot/github-action/commit/aa6c221075ed13d2a496b6e9640cd433994270ba))
|
||||
|
||||
### [22.3.3](https://github.com/renovatebot/github-action/compare/v22.3.1...v22.3.3) (2020-07-26)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.3.3 ([#165](https://github.com/renovatebot/github-action/issues/165)) ([31d126e](https://github.com/renovatebot/github-action/commit/31d126e769487a8f318379b39988cc5987c57281))
|
||||
|
||||
### [22.3.1](https://github.com/renovatebot/github-action/compare/v22.2.1...v22.3.1) (2020-07-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.3.1 ([#164](https://github.com/renovatebot/github-action/issues/164)) ([cdad83f](https://github.com/renovatebot/github-action/commit/cdad83f0bdbfafd21c5ceb62ede03833db4372a2))
|
||||
|
||||
### [22.2.1](https://github.com/renovatebot/github-action/compare/v22.2.0...v22.2.1) (2020-07-24)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.2.1 ([#163](https://github.com/renovatebot/github-action/issues/163)) ([c1f5d61](https://github.com/renovatebot/github-action/commit/c1f5d6114a0310829ba0b61b180b4377e822cdba))
|
||||
|
||||
## [22.2.0](https://github.com/renovatebot/github-action/compare/v22.1.0...v22.2.0) (2020-07-23)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.2.0 ([#161](https://github.com/renovatebot/github-action/issues/161)) ([d704638](https://github.com/renovatebot/github-action/commit/d7046387539a0d272b5e474221e5b081dd4efcf6))
|
||||
|
||||
## [22.1.0](https://github.com/renovatebot/github-action/compare/v22.0.3...v22.1.0) (2020-07-23)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22.1.0 ([#160](https://github.com/renovatebot/github-action/issues/160)) ([6cebbc2](https://github.com/renovatebot/github-action/commit/6cebbc2ebf6f5983108b2e73cda27286b3e1ebd0))
|
||||
|
||||
### [22.0.3](https://github.com/renovatebot/github-action/compare/v21.33.15...v22.0.3) (2020-07-23)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v22 ([#159](https://github.com/renovatebot/github-action/issues/159)) ([26b1c5b](https://github.com/renovatebot/github-action/commit/26b1c5b1df2b44a62cb384b6ea4809c49a2b5028))
|
||||
|
||||
### [21.33.15](https://github.com/renovatebot/github-action/compare/v21.33.14...v21.33.15) (2020-07-22)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.33.15 ([#157](https://github.com/renovatebot/github-action/issues/157)) ([27afb91](https://github.com/renovatebot/github-action/commit/27afb9149e4ae135ab4696fe760e3c2acaa566b6))
|
||||
|
||||
### [21.33.14](https://github.com/renovatebot/github-action/compare/v21.33.12...v21.33.14) (2020-07-22)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.33.14 ([#156](https://github.com/renovatebot/github-action/issues/156)) ([2903d13](https://github.com/renovatebot/github-action/commit/2903d13faad04c2cc872a7bb227ad36a00c2aaaa))
|
||||
|
||||
### [21.33.12](https://github.com/renovatebot/github-action/compare/v21.33.7...v21.33.12) (2020-07-22)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.33.12 ([#155](https://github.com/renovatebot/github-action/issues/155)) ([f999e7c](https://github.com/renovatebot/github-action/commit/f999e7c4eff1ce9b4e27be58731643f63fedadde))
|
||||
|
||||
### [21.33.7](https://github.com/renovatebot/github-action/compare/v21.33.2...v21.33.7) (2020-07-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.33.7 ([#154](https://github.com/renovatebot/github-action/issues/154)) ([f119030](https://github.com/renovatebot/github-action/commit/f1190302c3db9fc18d4a5606fb00d24a9ac34a95))
|
||||
|
||||
### [21.33.2](https://github.com/renovatebot/github-action/compare/v21.33.1...v21.33.2) (2020-07-19)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.33.2 ([#152](https://github.com/renovatebot/github-action/issues/152)) ([48020d5](https://github.com/renovatebot/github-action/commit/48020d596cc19e1e3249c27c645072b83bee6abc))
|
||||
|
||||
### [21.33.1](https://github.com/renovatebot/github-action/compare/v21.32.3...v21.33.1) (2020-07-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.33.1 ([#150](https://github.com/renovatebot/github-action/issues/150)) ([9a1bffc](https://github.com/renovatebot/github-action/commit/9a1bffc093bc6f34652ff5ad85bf47edfd6aa8d6))
|
||||
|
||||
### [21.32.3](https://github.com/renovatebot/github-action/compare/v21.32.2...v21.32.3) (2020-07-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.32.3 ([#149](https://github.com/renovatebot/github-action/issues/149)) ([080f12d](https://github.com/renovatebot/github-action/commit/080f12dd024cebcad1a9de656067ea149f7c717a))
|
||||
|
||||
### [21.32.2](https://github.com/renovatebot/github-action/compare/v21.32.0...v21.32.2) (2020-07-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.32.2 ([#148](https://github.com/renovatebot/github-action/issues/148)) ([9573240](https://github.com/renovatebot/github-action/commit/9573240a864054090f6e66ef098d1a4c36d62b99))
|
||||
|
||||
## [21.32.0](https://github.com/renovatebot/github-action/compare/v21.31.2...v21.32.0) (2020-07-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.32.0 ([#147](https://github.com/renovatebot/github-action/issues/147)) ([a7664fa](https://github.com/renovatebot/github-action/commit/a7664fa20729eb3af00d13c67a02e27a73810456))
|
||||
|
||||
### [21.31.2](https://github.com/renovatebot/github-action/compare/v21.30.0...v21.31.2) (2020-07-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.31.2 ([#145](https://github.com/renovatebot/github-action/issues/145)) ([9f83764](https://github.com/renovatebot/github-action/commit/9f837640e2dead818dacd3aa7c92bf0bd83b11bd))
|
||||
|
||||
## [21.30.0](https://github.com/renovatebot/github-action/compare/v21.29.3...v21.30.0) (2020-07-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.30.0 ([#143](https://github.com/renovatebot/github-action/issues/143)) ([0d217a6](https://github.com/renovatebot/github-action/commit/0d217a6b1447a34d51af41d9190119c1adacaad9))
|
||||
|
||||
### [21.29.3](https://github.com/renovatebot/github-action/compare/v21.29.2...v21.29.3) (2020-07-14)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.29.3 ([#135](https://github.com/renovatebot/github-action/issues/135)) ([60697a4](https://github.com/renovatebot/github-action/commit/60697a4a6cf0b9fe5e88377b976fa1530674873e))
|
||||
|
||||
### [21.29.2](https://github.com/renovatebot/github-action/compare/v21.12.7...v21.29.2) (2020-07-14)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.29.2 ([#131](https://github.com/renovatebot/github-action/issues/131)) ([5b4be46](https://github.com/renovatebot/github-action/commit/5b4be46dfd776e0fd68f374977d7fbc813b8aad5))
|
||||
|
||||
### [21.12.7](https://github.com/renovatebot/github-action/compare/v21.12.6...v21.12.7) (2020-06-19)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.12.7 ([#130](https://github.com/renovatebot/github-action/issues/130)) ([b374259](https://github.com/renovatebot/github-action/commit/b374259332333c7f7119be3c89b1d36d764e093c))
|
||||
|
||||
### [21.12.6](https://github.com/renovatebot/github-action/compare/v21.12.4...v21.12.6) (2020-06-19)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.12.6 ([#129](https://github.com/renovatebot/github-action/issues/129)) ([bcf0663](https://github.com/renovatebot/github-action/commit/bcf066390d5d3ec6745b153d2aaa83565d11695c))
|
||||
|
||||
### [21.12.4](https://github.com/renovatebot/github-action/compare/v21.12.3...v21.12.4) (2020-06-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.12.4 ([#128](https://github.com/renovatebot/github-action/issues/128)) ([1c81713](https://github.com/renovatebot/github-action/commit/1c81713e54c4425858ea998e50891232ddb72e4e))
|
||||
|
||||
### [21.12.3](https://github.com/renovatebot/github-action/compare/v21.12.2...v21.12.3) (2020-06-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.12.3 ([#127](https://github.com/renovatebot/github-action/issues/127)) ([ceea28a](https://github.com/renovatebot/github-action/commit/ceea28a222dd9897007117eab8661bfc69ac8673))
|
||||
|
||||
### [21.12.2](https://github.com/renovatebot/github-action/compare/v21.6.3...v21.12.2) (2020-06-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.12.2 ([#125](https://github.com/renovatebot/github-action/issues/125)) ([20dbb93](https://github.com/renovatebot/github-action/commit/20dbb93906723e2f130de4e0474b2fbc1bcd7ed9))
|
||||
|
||||
### [21.6.3](https://github.com/renovatebot/github-action/compare/v21.6.2...v21.6.3) (2020-06-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.6.3 ([#121](https://github.com/renovatebot/github-action/issues/121)) ([e18a8f2](https://github.com/renovatebot/github-action/commit/e18a8f29664e0ef81a48cf5c936d57f86b18bd65))
|
||||
|
||||
### [21.6.2](https://github.com/renovatebot/github-action/compare/v21.6.1...v21.6.2) (2020-06-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.6.2 ([#120](https://github.com/renovatebot/github-action/issues/120)) ([fbfed9c](https://github.com/renovatebot/github-action/commit/fbfed9cba486eadc74e96a3733cece2055fdedc3))
|
||||
|
||||
### [21.6.1](https://github.com/renovatebot/github-action/compare/v19.239.11...v21.6.1) (2020-06-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v21.6.1 ([#118](https://github.com/renovatebot/github-action/issues/118)) ([0a2f23d](https://github.com/renovatebot/github-action/commit/0a2f23dbd54069faa2efe37bad585f7e4ad353a0))
|
||||
|
||||
### [19.239.11](https://github.com/renovatebot/github-action/compare/v19.239.9...v19.239.11) (2020-05-19)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.239.11 ([#99](https://github.com/renovatebot/github-action/issues/99)) ([2823601](https://github.com/renovatebot/github-action/commit/28236016589577840d82643e08d2cc618dbe1456))
|
||||
|
||||
### [19.239.9](https://github.com/renovatebot/github-action/compare/v19.239.8...v19.239.9) (2020-05-19)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.239.9 ([#98](https://github.com/renovatebot/github-action/issues/98)) ([852e465](https://github.com/renovatebot/github-action/commit/852e465ea1843d14f481f554928dfd4050c770cb))
|
||||
|
||||
### [19.239.8](https://github.com/renovatebot/github-action/compare/v19.239.7...v19.239.8) (2020-05-17)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.239.8 ([#93](https://github.com/renovatebot/github-action/issues/93)) ([5850cc4](https://github.com/renovatebot/github-action/commit/5850cc49e616cf9759d9059601576d7a3836d419))
|
||||
|
||||
### [19.239.7](https://github.com/renovatebot/github-action/compare/v19.239.6...v19.239.7) (2020-05-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.239.7 ([#92](https://github.com/renovatebot/github-action/issues/92)) ([82dc686](https://github.com/renovatebot/github-action/commit/82dc686e094175a30b040de3f737689d17f361a3))
|
||||
|
||||
### [19.239.6](https://github.com/renovatebot/github-action/compare/v19.239.5...v19.239.6) (2020-05-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.239.6 ([#91](https://github.com/renovatebot/github-action/issues/91)) ([f6be319](https://github.com/renovatebot/github-action/commit/f6be319d0253ca914bd75d3615ef54e27f750b2e))
|
||||
|
||||
### [19.239.5](https://github.com/renovatebot/github-action/compare/v19.239.3...v19.239.5) (2020-05-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.239.5 ([#90](https://github.com/renovatebot/github-action/issues/90)) ([4639fdc](https://github.com/renovatebot/github-action/commit/4639fdc50849a76495963a929223585bbf23d155))
|
||||
|
||||
### [19.239.3](https://github.com/renovatebot/github-action/compare/v19.239.1...v19.239.3) (2020-05-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.239.3 ([#89](https://github.com/renovatebot/github-action/issues/89)) ([0480025](https://github.com/renovatebot/github-action/commit/0480025bbd547605d286c14671a211b4d2cbd85f))
|
||||
|
||||
### [19.239.1](https://github.com/renovatebot/github-action/compare/v19.238.2...v19.239.1) (2020-05-14)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.239.1 ([#88](https://github.com/renovatebot/github-action/issues/88)) ([82431c8](https://github.com/renovatebot/github-action/commit/82431c88b08e98eb0ab60a5beccd0ba1fd8de3bd))
|
||||
|
||||
### [19.238.2](https://github.com/renovatebot/github-action/compare/v19.238.0...v19.238.2) (2020-05-13)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.238.2 ([#87](https://github.com/renovatebot/github-action/issues/87)) ([543edf7](https://github.com/renovatebot/github-action/commit/543edf75766c8d224f868f870547755697c1f23e))
|
||||
|
||||
## [19.238.0](https://github.com/renovatebot/github-action/compare/v19.236.4...v19.238.0) (2020-05-13)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.238.0 ([#83](https://github.com/renovatebot/github-action/issues/83)) ([5272bee](https://github.com/renovatebot/github-action/commit/5272bee78d0ed9d89bada2dbd0064652ea52a14b))
|
||||
|
||||
### [19.236.4](https://github.com/renovatebot/github-action/compare/v19.236.3...v19.236.4) (2020-05-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.236.4 ([#82](https://github.com/renovatebot/github-action/issues/82)) ([a6a2a3e](https://github.com/renovatebot/github-action/commit/a6a2a3ee7f3d36ad87d59379ea41cfd38b650805))
|
||||
|
||||
### [19.236.3](https://github.com/renovatebot/github-action/compare/v19.236.1...v19.236.3) (2020-05-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.236.3 ([#81](https://github.com/renovatebot/github-action/issues/81)) ([9f348f9](https://github.com/renovatebot/github-action/commit/9f348f90a0d2464b5607501a43cb0e0c583b4865))
|
||||
|
||||
### [19.236.1](https://github.com/renovatebot/github-action/compare/v1.0.5...v19.236.1) (2020-05-11)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **config:** add support for regular Renovate config files ([#79](https://github.com/renovatebot/github-action/issues/79)) ([fa9be05](https://github.com/renovatebot/github-action/commit/fa9be0537ade4fba30d32086f525cab773f6cb0f))
|
||||
* use slim image ([#61](https://github.com/renovatebot/github-action/issues/61)) ([9b86457](https://github.com/renovatebot/github-action/commit/9b8645713ec22be0ea533fa9fe0004c8c1b5b92b))
|
||||
* **ci:** auto release ([#53](https://github.com/renovatebot/github-action/issues/53)) ([6cef3bd](https://github.com/renovatebot/github-action/commit/6cef3bd05f55f59217de65ecb87503b5695a9e13))
|
||||
* simplify entrypoint ([#27](https://github.com/renovatebot/github-action/issues/27)) ([1e1bc63](https://github.com/renovatebot/github-action/commit/1e1bc634ac4b3d41d5bd2b59bc649d39013268e7))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update renovate/renovate docker tag to v19.236.1 ([#77](https://github.com/renovatebot/github-action/issues/77)) ([0db5293](https://github.com/renovatebot/github-action/commit/0db5293686389ae9f6f548f925d1c236ae552f34))
|
||||
* throw error if docker group cannot be found ([#78](https://github.com/renovatebot/github-action/issues/78)) ([3aa7224](https://github.com/renovatebot/github-action/commit/3aa72249b9d8787c333da7dcd0c6f1a92170e869))
|
||||
* **deps:** update renovate/renovate docker tag to v19.193.0 ([#15](https://github.com/renovatebot/github-action/issues/15)) ([d073690](https://github.com/renovatebot/github-action/commit/d073690b294a9a705e5ae0eac9920a97b83b8b3b))
|
||||
* **deps:** update renovate/renovate docker tag to v19.205.0 ([#2](https://github.com/renovatebot/github-action/issues/2)) ([fedcf83](https://github.com/renovatebot/github-action/commit/fedcf83698d59f4bd07c89ee4c0fe15bf58d720d))
|
||||
* **deps:** update renovate/renovate docker tag to v19.219.11 ([#12](https://github.com/renovatebot/github-action/issues/12)) ([93b5157](https://github.com/renovatebot/github-action/commit/93b5157f02e0f5f35dcdd86c3c3159329371751d))
|
||||
* **deps:** update renovate/renovate docker tag to v19.223.1 ([#32](https://github.com/renovatebot/github-action/issues/32)) ([ac44213](https://github.com/renovatebot/github-action/commit/ac442134d9bd229c6ffd098269aa976677c30ce1))
|
||||
* **deps:** update renovate/renovate docker tag to v19.224.0 ([#34](https://github.com/renovatebot/github-action/issues/34)) ([038d56e](https://github.com/renovatebot/github-action/commit/038d56edc43d3719f489a2a2d18f4a3f6be54b30))
|
||||
* **deps:** update renovate/renovate docker tag to v19.225.1 ([#36](https://github.com/renovatebot/github-action/issues/36)) ([821a4ec](https://github.com/renovatebot/github-action/commit/821a4ec20811c2137b22460b890c84f1a54122ca))
|
||||
* **deps:** update renovate/renovate docker tag to v19.225.3 ([#37](https://github.com/renovatebot/github-action/issues/37)) ([16eea89](https://github.com/renovatebot/github-action/commit/16eea8909192034b4b2f83533e1f31d7b1464a8b))
|
||||
* **deps:** update renovate/renovate docker tag to v19.225.4 ([#39](https://github.com/renovatebot/github-action/issues/39)) ([5ce22e8](https://github.com/renovatebot/github-action/commit/5ce22e8eeb251ea1ebe4e64ae66a01ab5c21a164))
|
||||
* **deps:** update renovate/renovate docker tag to v19.225.5 ([#40](https://github.com/renovatebot/github-action/issues/40)) ([5ee3f6a](https://github.com/renovatebot/github-action/commit/5ee3f6ab2f36c4c9ad0cfbcc2619a0135471a10a))
|
||||
* **deps:** update renovate/renovate docker tag to v19.226.0 ([#41](https://github.com/renovatebot/github-action/issues/41)) ([d94a0f7](https://github.com/renovatebot/github-action/commit/d94a0f76eb1a228c81fdcf47b9b3287bf812a0a0))
|
||||
* **deps:** update renovate/renovate docker tag to v19.227.0 ([#42](https://github.com/renovatebot/github-action/issues/42)) ([a9920c0](https://github.com/renovatebot/github-action/commit/a9920c014aebc28dc1b23e7efcc006d0455cc710))
|
||||
* **deps:** update renovate/renovate docker tag to v19.228.1 ([#43](https://github.com/renovatebot/github-action/issues/43)) ([eb356b1](https://github.com/renovatebot/github-action/commit/eb356b1448435a8db429930226a08c0129f39e7d))
|
||||
* **deps:** update renovate/renovate docker tag to v19.228.2 ([#46](https://github.com/renovatebot/github-action/issues/46)) ([47a19ef](https://github.com/renovatebot/github-action/commit/47a19ef007470843503a03f4e9d3ac743b148a07))
|
||||
* **deps:** update renovate/renovate docker tag to v19.230.0 ([#54](https://github.com/renovatebot/github-action/issues/54)) ([a5d0eb0](https://github.com/renovatebot/github-action/commit/a5d0eb0c635fb69e30031226c42dc7ce618b0e4f))
|
||||
* **deps:** update renovate/renovate docker tag to v19.230.2 ([#56](https://github.com/renovatebot/github-action/issues/56)) ([02d919f](https://github.com/renovatebot/github-action/commit/02d919f609d551a0af38ab9ad2d19b59956eb8f2))
|
||||
* **deps:** update renovate/renovate docker tag to v19.231.11 ([#64](https://github.com/renovatebot/github-action/issues/64)) ([dea0781](https://github.com/renovatebot/github-action/commit/dea0781e643eafcfb228cbfdc04f737e88f6f956))
|
||||
* **deps:** update renovate/renovate docker tag to v19.231.12 ([#66](https://github.com/renovatebot/github-action/issues/66)) ([ea9e7f2](https://github.com/renovatebot/github-action/commit/ea9e7f263f4a340e2a2277232e64e061213442d1))
|
||||
* **deps:** update renovate/renovate docker tag to v19.231.13 ([#67](https://github.com/renovatebot/github-action/issues/67)) ([35d3d8f](https://github.com/renovatebot/github-action/commit/35d3d8fb022c6cc5e8d99533db4da975c6341631))
|
||||
* **deps:** update renovate/renovate docker tag to v19.231.2 ([#57](https://github.com/renovatebot/github-action/issues/57)) ([df05f8e](https://github.com/renovatebot/github-action/commit/df05f8e6e419b4027da5eab7c32017b9e62aaa91))
|
||||
* **deps:** update renovate/renovate docker tag to v19.231.4 ([#59](https://github.com/renovatebot/github-action/issues/59)) ([57c757f](https://github.com/renovatebot/github-action/commit/57c757fdb53893009f5eccd4ce5c11c9374ffb6c))
|
||||
* **deps:** update renovate/renovate docker tag to v19.231.8 ([#60](https://github.com/renovatebot/github-action/issues/60)) ([8228a8e](https://github.com/renovatebot/github-action/commit/8228a8e5b2ec1b6c214d4f710eb96a9be91618fc))
|
||||
* **deps:** update renovate/renovate docker tag to v19.231.9 ([#63](https://github.com/renovatebot/github-action/issues/63)) ([669900c](https://github.com/renovatebot/github-action/commit/669900c8b08650a6230228039ca6665f29a39cd0))
|
||||
* **deps:** update renovate/renovate docker tag to v19.232.0 ([#68](https://github.com/renovatebot/github-action/issues/68)) ([7def629](https://github.com/renovatebot/github-action/commit/7def629d15f744e4fa64797ac7236fccdb3502e6))
|
||||
* **deps:** update renovate/renovate docker tag to v19.233.2 ([#69](https://github.com/renovatebot/github-action/issues/69)) ([d9bdbcb](https://github.com/renovatebot/github-action/commit/d9bdbcb3945b095e0881d680e96442c514c4e8a7))
|
||||
* **deps:** update renovate/renovate docker tag to v19.233.4 ([#70](https://github.com/renovatebot/github-action/issues/70)) ([cc4f9ef](https://github.com/renovatebot/github-action/commit/cc4f9ef52672685d952dd8e836bc76524e4b3739))
|
||||
* **deps:** update renovate/renovate docker tag to v19.234.0 ([#71](https://github.com/renovatebot/github-action/issues/71)) ([2f62595](https://github.com/renovatebot/github-action/commit/2f625955514b5452bbc8287385cbde4890460e03))
|
||||
* **deps:** update renovate/renovate docker tag to v19.234.1 ([#72](https://github.com/renovatebot/github-action/issues/72)) ([a5501b9](https://github.com/renovatebot/github-action/commit/a5501b90ee6db583b7d2955965d498f682de7596))
|
||||
* **deps:** update renovate/renovate docker tag to v19.236.0 ([#74](https://github.com/renovatebot/github-action/issues/74)) ([d34a600](https://github.com/renovatebot/github-action/commit/d34a600029121c79253cd1254d95cdc2b3aa9619))
|
||||
|
||||
# Changelog
|
||||
|
||||
The changelog is only available on the `releases` branch. Please refer to [CHANGELOG.md](https://github.com/renovatebot/github-action/blob/releases/CHANGELOG.md) there.
|
||||
@@ -2,300 +2,57 @@
|
||||
|
||||
GitHub Action to run Renovate self-hosted.
|
||||
|
||||
<!-- markdownlint-disable no-inline-html -->
|
||||
|
||||
<a name="toc"></a>
|
||||
|
||||
## Table of contents
|
||||
|
||||
- [Badges](#badges)
|
||||
- [Options](#options)
|
||||
- [`additional-env-list`](#additional-env-list)
|
||||
- [`configurationFile`](#configurationfile)
|
||||
- [`docker-cmd-file`](#docker-cmd-file)
|
||||
- [`docker-network`](#docker-network)
|
||||
- [`docker-socket-host-path`](#docker-socket-host-path)
|
||||
- [`docker-user`](#docker-user)
|
||||
- [`docker-volumes`](#docker-volumes)
|
||||
- [`env-regex`](#env-regex)
|
||||
- [`mount-docker-socket`](#mount-docker-socket)
|
||||
- [`token`](#token)
|
||||
- [`renovate-image`](#renovate-image)
|
||||
- [`renovate-version`](#renovate-version)
|
||||
- [Example](#example)
|
||||
- [Environment Variables](#environment-variables)
|
||||
- [Passing other environment variables](#passing-other-environment-variables)
|
||||
- [Persisting the Repository Cache](#persisting-the-repository-cache)
|
||||
- [Troubleshooting](#troubleshooting)
|
||||
- [Debug Logging](#debug-logging)
|
||||
- [Special token requirements when using the `github-actions` manager](#special-token-requirements-when-using-the-github-actions-manager)
|
||||
- [License](#license)
|
||||
|
||||
## Badges
|
||||
|
||||
| Badge | Description | Service |
|
||||
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -------------------- |
|
||||
| <a href="https://github.com/prettier/prettier#readme"><img alt="code style" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a> | Code style | Prettier |
|
||||
| <a href="https://conventionalcommits.org"><img alt="Conventional Commits: 1.0.0" src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square"></a> | Commit style | Conventional Commits |
|
||||
| <a href="https://renovatebot.com"><img alt="Renovate enabled" src="https://img.shields.io/badge/renovate-enabled-brightgreen.svg?style=flat-square"></a> | Dependencies | Renovate |
|
||||
| <a href="https://github.com/renovatebot/github-action/actions"><img alt="GitHub workflow status" src="https://img.shields.io/github/actions/workflow/status/renovatebot/github-action/build.yml?style=flat-square"></a> | Build | GitHub Actions |
|
||||
| Badge | Description | Service |
|
||||
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -------------------- |
|
||||
| <a href="https://github.com/prettier/prettier#readme"><img alt="code style" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a> | Code style | Prettier |
|
||||
| <a href="https://conventionalcommits.org"><img alt="Conventional Commits: 1.0.0" src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square"></a> | Commit style | Conventional Commits |
|
||||
| <a href="https://renovatebot.com"><img alt="Renovate enabled" src="https://img.shields.io/badge/renovate-enabled-brightgreen.svg?style=flat-square"></a> | Dependencies | Renovate |
|
||||
| <a href="https://github.com/renovatebot/github-action/actions"><img alt="GitHub workflow status" src="https://img.shields.io/github/workflow/status/renovatebot/github-action/Build?style=flat-square"></a> | Build | GitHub Actions |
|
||||
| <a href="https://github.com/renovatebot/github-action/actions"><img alt="GitHub workflow status" src="https://img.shields.io/github/workflow/status/renovatebot/github-action/Example?style=flat-square"></a> | Example | GitHub Actions |
|
||||
|
||||
## Options
|
||||
|
||||
Options can be passed using the inputs of this action or the corresponding environment variables.
|
||||
When both are passed, the input takes precedence over the environment variable.
|
||||
For the available environment variables, see the Renovate [Self-Hosted Configuration](https://docs.renovatebot.com/self-hosted-configuration/) docs.
|
||||
## `configurationFile`
|
||||
|
||||
### `additional-env-list`
|
||||
Configuration file to configure Renovate. The supported configurations files can be one of the configuration files listed in the Renovate Docs for [Configuration Options](https://docs.renovatebot.com/configuration-options/) or a JavaScript file that exports a configuration object. For both of these options, an example can be found in the [example](./example) directory.
|
||||
|
||||
A newline-separated list of environment variable names to pass through to the Renovate container, in addition to those already matched by [`env-regex`](#env-regex).
|
||||
See [Passing other environment variables](#passing-other-environment-variables) section for more details.
|
||||
|
||||
### `configurationFile`
|
||||
|
||||
Configuration file to configure Renovate ("global" config) in JavaScript or JSON format.
|
||||
It is recommended to not name it one of the repository configuration filenames listed in the Renovate Docs for [Configuration Options](https://docs.renovatebot.com/configuration-options/).
|
||||
|
||||
Config examples can be found in the [example](./example) directory.
|
||||
|
||||
The configurations that can be done in this file consists of two parts, as listed below.
|
||||
Refer to the links to the [Renovate Docs](https://docs.renovatebot.com/) for all options.
|
||||
The configurations that can be done in this file consists of two parts, as listed below. Refer to the links to the [Renovate Docs](https://docs.renovatebot.com/) for all options.
|
||||
|
||||
1. [Self-Hosted Configuration Options](https://docs.renovatebot.com/self-hosted-configuration/)
|
||||
2. [Configuration Options](https://docs.renovatebot.com/configuration-options/)
|
||||
|
||||
The [`branchPrefix`](https://docs.renovatebot.com/configuration-options/#branchprefix) option is important to configure and should be configured to a value other than the default to prevent interference with e.g. the Renovate GitHub App.
|
||||
|
||||
If you want to use this with just the single configuration file, make sure to include the following two configuration lines.
|
||||
This disables the requirement of a configuration file for the repository and disables onboarding.
|
||||
If you want to use this with just the single configuration file, make sure to include the following two configuration lines. This disables the requirement of a configuration file for the repository and disables onboarding.
|
||||
|
||||
```js
|
||||
onboarding: false,
|
||||
requireConfig: 'optional',
|
||||
requireConfig: false,
|
||||
```
|
||||
|
||||
### `docker-cmd-file`
|
||||
## `token`
|
||||
|
||||
Specify a command to run when the image start.
|
||||
By default the image run
|
||||
`renovate`.
|
||||
This option is useful to customize the image before running `renovate`.
|
||||
It must be an existing executable file on the local system.
|
||||
It will be mounted to the docker container.
|
||||
[Generate a personal access token](https://github.com/settings/tokens), with the `repo:public_repo` scope for only public repositories or the `repo` scope for public and private repositories, and add it to _Secrets_ (repository settings) as `RENOVATE_TOKEN`. You can also create a token without a specific scope, which gives read-only access to public repositories, for testing. This token is only used by Renovate, see the [token configuration](https://docs.renovatebot.com/self-hosted-configuration/#token), and gives it access to the repositories. The name of the secret can be anything as long as it matches the argument given to the `token` option.
|
||||
|
||||
For example you can create a simple script like this one (let's call it
|
||||
`renovate-entrypoint.sh`).
|
||||
|
||||
```sh
|
||||
#!/bin/bash
|
||||
|
||||
apt update
|
||||
|
||||
apt install -y build-essential libpq-dev
|
||||
|
||||
runuser -u ubuntu renovate
|
||||
```
|
||||
|
||||
Now use this action
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
docker-cmd-file: .github/renovate-entrypoint.sh
|
||||
docker-user: root
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
||||
### `docker-network`
|
||||
|
||||
Specify a network to run container in.
|
||||
|
||||
You can use `${{ job.container.network }}` to run renovate container [in the same network as other containers for this job](https://docs.github.com/en/actions/learn-github-actions/contexts#job-context),
|
||||
or set it to `host` to run in the same network as github runner, or specify any custom network.
|
||||
|
||||
### `docker-socket-host-path`
|
||||
|
||||
Allows the overriding of the host path for the Docker socket that is mounted into the container.
|
||||
Useful on systems where the host Docker socket is located somewhere other than `/var/run/docker.sock` (the default).
|
||||
Only applicable when `mount-docker-socket` is true.
|
||||
|
||||
### `docker-user`
|
||||
|
||||
Specify a user (or user-id) to run docker command.
|
||||
|
||||
You can use it with [`docker-cmd-file`](#docker-cmd-file) in order to start the
|
||||
image as root, do some customization and switch back to a unprivileged user.
|
||||
|
||||
### `docker-volumes`
|
||||
|
||||
Specify volume mounts. Defaults to `/tmp:/tmp`.
|
||||
The volume mounts are separated through `;`.
|
||||
|
||||
This sample will mount `/tmp:/tmp` and `/foo:/bar`.
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
docker-volumes: |
|
||||
/tmp:/tmp ;
|
||||
/foo:/bar
|
||||
```
|
||||
|
||||
### `env-regex`
|
||||
|
||||
Allows to configure the regex to define which environment variables are passed to the renovate container.
|
||||
See [Passing other environment variables](#passing-other-environment-variables) section for more details.
|
||||
|
||||
## `mount-docker-socket`
|
||||
|
||||
Default to `false`. If set to `true` the action will mount the Docker socket
|
||||
inside the renovate container so that the commands can use Docker. Can be useful
|
||||
for `postUpgradeTasks`'s commands. Also add the user inside the renovate
|
||||
container to the docker group for socket permissions.
|
||||
|
||||
### `token`
|
||||
|
||||
[Generate a Personal Access Token (classic)](https://github.com/settings/tokens), with the `repo:public_repo` scope for only public repositories or the `repo` scope for public and private repositories, and add it to _Secrets_ (repository settings) as `RENOVATE_TOKEN`.
|
||||
You can also create a token without a specific scope, which gives read-only access to public repositories, for testing.
|
||||
This token is only used by Renovate, see the [token configuration](https://docs.renovatebot.com/self-hosted-configuration/#token), and gives it access to the repositories.
|
||||
The name of the secret can be anything as long as it matches the argument given to the `token` option.
|
||||
|
||||
Fine-grained Personal Access Tokens are now supported, as GitHub has [implemented GraphQL API support for them](https://github.com/github/roadmap/issues/622).
|
||||
However, some permission gaps may remain (for example, around `Checks` access), so a classic token is still the safer default if you run into authentication or automerge limitations.
|
||||
|
||||
If you want to use the `github-actions` manager, you must setup a [special token](#special-token-requirements-when-using-the-github-actions-manager) with some requirements.
|
||||
|
||||
> [!NOTE]
|
||||
> [`GITHUB_TOKEN`](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token)
|
||||
> can be also used; however, workflows run on RenovateBot's PRs will need to be [manually approved](https://github.blog/changelog/2026-06-11-bot-created-pull-requests-can-run-workflows-if-approved/).
|
||||
>
|
||||
> Additionally, ["Allow GitHub Actions to create and approve pull requests"](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#preventing-github-actions-from-creating-or-approving-pull-requests)
|
||||
> needs to be enabled on the repository or organisation level.
|
||||
|
||||
### `renovate-image`
|
||||
|
||||
The Renovate Docker image name to use.
|
||||
If omitted the action will use the `ghcr.io/renovatebot/renovate:<renovate-version>` Docker image name otherwise.
|
||||
If a Docker image name is defined, the action will use that name to pull the image.
|
||||
|
||||
This sample will use `myproxyhub.domain.com/renovate/renovate:<renovate-version>` image.
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
renovate-image: myproxyhub.domain.com/renovate/renovate
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
||||
This sample will use `ghcr.io/renovatebot/renovate:<renovate-version>` image.
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
||||
It is also possible to specify a full Docker image pinned to a version (and optionally, a digest) like so:
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
renovate-image: ghcr.io/renovatebot/renovate@sha256:0f7ba2b70c5d1a7e2d95b0f6c3d5b4a1e2f6b6a1e2f6b6a1e2f6b6a1e2f6b6a1
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
||||
### `renovate-version`
|
||||
|
||||
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:45.16.0` image.
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
renovate-version: 45.16.0
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
||||
This sample will use `ghcr.io/renovatebot/renovate:full` image.
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
renovate-version: full
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
||||
We recommend you pin the version of Renovate to a full version or a full checksum, and use Renovate's regex manager to create PRs to update the pinned version.
|
||||
See `.github/workflows/build.yml` for an example of how to do this.
|
||||
Note that the [`GITHUB_TOKEN`](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token) secret can't be used for authenticating Renovate.
|
||||
|
||||
## Example
|
||||
|
||||
This example uses a Personal Access Token and will run every 15 minutes.
|
||||
The Personal Access token is configured as a GitHub secret named `RENOVATE_TOKEN`.
|
||||
This example uses the [`example/renovate-config.js`](./example/renovate-config.js) file as configuration.
|
||||
Live examples with more advanced configurations of this action can be found in the following repositories:
|
||||
|
||||
- [vidavidorra/renovate](https://github.com/vidavidorra/renovate/blob/main/.github/renovate.json)
|
||||
- [jenkinsci/helm-charts](https://github.com/jenkinsci/helm-charts/blob/main/.github/renovate-config.json5)
|
||||
This example uses a personal access token and will run every 15 minutes. The personal access token is configured as a GitHub secret named `RENOVATE_TOKEN`. This example uses the [`example/config.js`](./example/config.js) file as configuration.
|
||||
You can also see a live example of this action in my [github-renovate](https://github.com/vidavidorra/github-renovate) repository, which also includes a more [advanced configuration](https://github.com/vidavidorra/github-renovate/blob/master/src/config.js) for updating GitHub Action workflows.
|
||||
|
||||
**Remark** Update the action version to the most current, see [here](https://github.com/renovatebot/github-action/releases/latest) for latest release.
|
||||
|
||||
@@ -311,285 +68,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
uses: actions/checkout@v2.0.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
uses: renovatebot/github-action@v21.30.0
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
```
|
||||
|
||||
### Example for GitHub Enterprise
|
||||
|
||||
If you want to use the Renovate Action on a GitHub Enterprise instance you have to add the following environment variable:
|
||||
|
||||
```yml
|
||||
....
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
env:
|
||||
RENOVATE_ENDPOINT: "https://git.your-company.com/api/v3"
|
||||
```
|
||||
|
||||
### Example with GitHub App
|
||||
|
||||
Instead of using a Personal Access Token (PAT) that is tied to a particular user you can use a [GitHub App](https://docs.github.com/en/developers/apps/building-github-apps) where permissions can be even better tuned.
|
||||
[Create a new app](https://docs.github.com/en/developers/apps/creating-a-github-app) and configure the app permissions and your `config.js` as described in the [Renovate documentation](https://docs.renovatebot.com/modules/platform/github/#running-as-a-github-app).
|
||||
|
||||
Generate and download a new private key for the app, adding the contents of the downloaded `.pem` file to _Secrets_ (repository settings) with the name `private_key` and app ID as a secret with name `app_id`.
|
||||
|
||||
Adjust your Renovate configuration file to specify the username of your bot.
|
||||
|
||||
From the Github app configuration page, install the app in your account or your organization's account, and configure the repository access.
|
||||
|
||||
Going forward we will be using the [`actions/create-github-app-token` action](https://github.com/actions/create-github-app-token) in order to exchange the GitHub App certificate for an access token that Renovate can use.
|
||||
|
||||
The final workflow will look like this:
|
||||
|
||||
```yaml
|
||||
name: Renovate
|
||||
on:
|
||||
schedule:
|
||||
# The "*" (#42, asterisk) character has special semantics in YAML, so this
|
||||
# string has to be quoted.
|
||||
- cron: '0/15 * * * *'
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get token
|
||||
id: get_token
|
||||
uses: actions/create-github-app-token@v1
|
||||
with:
|
||||
private-key: ${{ secrets.private_key }}
|
||||
app-id: ${{ secrets.app_id }}
|
||||
owner: ${{ github.repository_owner }}
|
||||
repositories: 'repo1,repo2'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: '${{ steps.get_token.outputs.token }}'
|
||||
```
|
||||
|
||||
### Commit signing with GitHub App
|
||||
|
||||
Renovate can sign commits when deployed as a GitHub App by utilizing GitHub's API-based commits.
|
||||
To activate this, ensure that `platformCommit` is set to `enabled` in global config.
|
||||
If a configuration file is defined, include `platformCommit: enabled` to activate this feature.
|
||||
For example:
|
||||
|
||||
```yaml
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
token: '${{ steps.get_token.outputs.token }}'
|
||||
env:
|
||||
RENOVATE_PLATFORM_COMMIT: 'enabled'
|
||||
```
|
||||
|
||||
## Environment Variables
|
||||
|
||||
Environment variables prefixed with `RENOVATE_` are passed through to the Docker container automatically. This prefix is reserved for [Renovate self-hosted configuration](https://docs.renovatebot.com/self-hosted-configuration/), so using it for unrelated credentials can accidentally conflict with a Renovate option.
|
||||
|
||||
For custom credentials, use a distinct prefix and add the variable to [`env-regex`](#passing-other-environment-variables).
|
||||
|
||||
For example if you wish to pass through some credentials for a [host rule](https://docs.renovatebot.com/configuration-options/#hostrules) to the `config.js` then you should do so like this.
|
||||
|
||||
1. In your workflow pass in the environment variable
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
env-regex: "^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|NO_COLOR|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy|CUSTOM_TFE_TOKEN)$"
|
||||
env:
|
||||
CUSTOM_TFE_TOKEN: ${{ secrets.MY_TFE_TOKEN }}
|
||||
```
|
||||
|
||||
1. In `example/renovate-config.js` include the hostRules block
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
hostRules: [
|
||||
{
|
||||
hostType: 'terraform-module',
|
||||
matchHost: 'app.terraform.io',
|
||||
token: process.env.CUSTOM_TFE_TOKEN,
|
||||
},
|
||||
],
|
||||
};
|
||||
```
|
||||
|
||||
### User agent
|
||||
|
||||
By default, the Action sets [`RENOVATE_USER_AGENT`](https://docs.renovatebot.com/self-hosted-configuration/#useragent) to `Renovate/{{renovateVersion}} (https://github.com/renovatebot/github-action)`, so that operators of registries can identify traffic coming from this Action.
|
||||
|
||||
To override it, set the `RENOVATE_USER_AGENT` environment variable on the Action step.
|
||||
|
||||
### Passing other environment variables
|
||||
|
||||
There are two ways to pass additional variables through to the Renovate container:
|
||||
|
||||
1. **Recommended:** use [`additional-env-list`](#additional-env-list) to list the names of the variables you want forwarded. This keeps the action's default `env-regex` in effect, so you'll continue to receive any future additions to the default allow-list. Variable names that are not present in the environment are silently ignored.
|
||||
2. Override [`env-regex`](#env-regex) with a custom regular expression. This gives you full control but also full ownership: if the action's default pattern changes, your override will not pick up those changes, and a typo in the regex can silently drop variables (including `RENOVATE_*` ones).
|
||||
|
||||
Example using `additional-env-list` (recommended):
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6.1.0
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
additional-env-list: |
|
||||
AWS_TOKEN
|
||||
MY_OTHER_SECRET
|
||||
env:
|
||||
AWS_TOKEN: ${{ secrets.AWS_TOKEN }}
|
||||
MY_OTHER_SECRET: ${{ secrets.MY_OTHER_SECRET }}
|
||||
```
|
||||
|
||||
Example using `env-regex` (full override):
|
||||
|
||||
```yml
|
||||
....
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
env-regex: "^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|AWS_TOKEN)$"
|
||||
env:
|
||||
AWS_TOKEN: ${{ secrets.AWS_TOKEN }}
|
||||
```
|
||||
|
||||
## Persisting the repository cache
|
||||
|
||||
In some cases, Renovate can update PRs more frequently than you expect. The [repository cache](https://docs.renovatebot.com/self-hosted-configuration/#repositorycache) can help with this issue. You need a few things to persist this cache in GitHub Actions:
|
||||
|
||||
1. Enable the `repositoryCache` [option](https://docs.renovatebot.com/self-hosted-configuration/#repositorycache) via env vars or renovate.json.
|
||||
2. Restore `/tmp/renovate/cache/renovate/repository` before Renovate runs.
|
||||
3. Save the updated directory under a new cache key after Renovate finishes.
|
||||
|
||||
Below is a workflow example with caching.
|
||||
|
||||
The primary key includes `github.run_id` and `github.run_attempt`, so each successful run or rerun can save its updated cache. `restore-keys` selects the most recent prior cache. The ownership fix is still required because the restored files are created by the runner but Renovate reads them inside its container as user `12021`.
|
||||
|
||||
```yml
|
||||
name: Renovate
|
||||
on:
|
||||
# This lets you dispatch a renovate job with different cache options if you want to reset or disable the cache manually.
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
repoCache:
|
||||
description: 'Reset or disable the cache?'
|
||||
type: choice
|
||||
default: enabled
|
||||
options:
|
||||
- enabled
|
||||
- disabled
|
||||
- reset
|
||||
schedule:
|
||||
# Run every 30 minutes:
|
||||
- cron: '0,30 * * * *'
|
||||
|
||||
# Adding these as env variables makes it easy to re-use them in different steps and in bash.
|
||||
env:
|
||||
# This is the dir renovate provides -- if we set our own directory via cacheDir, we can run into permissions issues.
|
||||
# It is also possible to cache a higher level of the directory, but it has minimal benefit. While renovate execution
|
||||
# time gets faster, it also takes longer to upload the cache as it grows bigger.
|
||||
cache_dir: /tmp/renovate/cache/renovate/repository
|
||||
# This can be manually changed to bust the cache if necessary.
|
||||
cache_key: renovate-cache
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
name: Renovate
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
|
||||
- name: Restore renovate cache
|
||||
id: cache-restore
|
||||
if: github.event.inputs.repoCache != 'disabled' && github.event.inputs.repoCache != 'reset'
|
||||
uses: actions/cache/restore@v6.1.0
|
||||
with:
|
||||
path: ${{ env.cache_dir }}
|
||||
key: ${{ env.cache_key }}-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
restore-keys: |
|
||||
${{ env.cache_key }}-
|
||||
|
||||
- name: Fix restored cache ownership
|
||||
if: steps.cache-restore.outputs.cache-matched-key != ''
|
||||
run: |
|
||||
sudo chown -R 12021:0 /tmp/renovate/
|
||||
ls -R $cache_dir
|
||||
|
||||
- uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
configurationFile: renovate.json5
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
renovate-version: 45.16.0
|
||||
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' }}
|
||||
|
||||
- name: Save renovate cache
|
||||
if: github.event.inputs.repoCache != 'disabled' && steps.cache-restore.outputs.cache-hit != 'true'
|
||||
uses: actions/cache/save@v6.1.0
|
||||
with:
|
||||
path: ${{ env.cache_dir }}
|
||||
key: ${{ env.cache_key }}-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Debug logging
|
||||
|
||||
In case of issues, it's always a good idea to enable debug logging first.
|
||||
To enable debug logging, add the environment variable `LOG_LEVEL: 'debug'` to the action:
|
||||
|
||||
```yml
|
||||
- name: Self-hosted Renovate
|
||||
uses: renovatebot/github-action@v48.0.1
|
||||
with:
|
||||
configurationFile: example/renovate-config.js
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||
env:
|
||||
LOG_LEVEL: 'debug'
|
||||
```
|
||||
|
||||
### Special token requirements when using the `github-actions` manager
|
||||
|
||||
If you want to use the `github-actions` [manager](https://docs.renovatebot.com/modules/manager/github-actions/) in Renovate, ensure that the `token` you provide contains the `workflow` scope.
|
||||
Otherwise, GitHub does not allow Renovate to update workflow files and therefore it will be unable to create update PRs for affected packages (like `actions/checkout` or `renovatebot/github-action` itself).
|
||||
+6
-58
@@ -1,4 +1,4 @@
|
||||
name: 'Renovate Bot GitHub Action'
|
||||
name: 'Self-Hosted Renovate'
|
||||
description: 'GitHub Action to run self-hosted Renovate.'
|
||||
author: 'Jeroen de Bruijn'
|
||||
branding:
|
||||
@@ -6,66 +6,14 @@ branding:
|
||||
color: blue
|
||||
inputs:
|
||||
configurationFile:
|
||||
description: |
|
||||
Configuration file to configure Renovate. Either use this input or the
|
||||
'RENOVATE_CONFIG_FILE' environment variable.
|
||||
description: 'Configuration file to configure Renovate'
|
||||
required: false
|
||||
default: src/config.js
|
||||
token:
|
||||
description: |
|
||||
GitHub personal access token that Renovate should use. This should be
|
||||
configured using a Secret. Either use this input or the 'RENOVATE_TOKEN'
|
||||
environment variable.
|
||||
required: false
|
||||
env-regex:
|
||||
description: |
|
||||
Override the environment variables which will be passed into the renovate container.
|
||||
Defaults to `^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|NO_COLOR|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$`
|
||||
required: false
|
||||
additional-env-list:
|
||||
description: |
|
||||
A newline-separated list of environment variable names to pass through to the Renovate container, in addition to those already matched by env-regex.
|
||||
required: false
|
||||
renovate-version:
|
||||
description: |
|
||||
Renovate version to use.
|
||||
required: false
|
||||
default: '45' # renovate
|
||||
renovate-image:
|
||||
description: |
|
||||
Renovate docker image name.
|
||||
required: false
|
||||
default: ghcr.io/renovatebot/renovate
|
||||
mount-docker-socket:
|
||||
description: |
|
||||
Mount the Docker socket inside the renovate container so that the commands
|
||||
can use Docker. Also add the user inside the renovate container to the
|
||||
docker group for socket permissions.
|
||||
required: false
|
||||
docker-socket-host-path:
|
||||
description: |
|
||||
Allows the overriding of the host path for the Docker socket that is mounted into the container.
|
||||
Useful on systems where the host Docker socket is located somewhere other than '/var/run/docker.sock' (the default).
|
||||
Only applicable when 'mount-docker-socket' is true.
|
||||
required: false
|
||||
default: /var/run/docker.sock
|
||||
docker-cmd-file:
|
||||
description: |
|
||||
Override docker command. Default command is `renovate`
|
||||
required: false
|
||||
docker-network:
|
||||
description: |
|
||||
Docker network.
|
||||
required: false
|
||||
docker-user:
|
||||
description: |
|
||||
Docker user. Default to an unprivileged user
|
||||
required: false
|
||||
docker-volumes:
|
||||
description: |
|
||||
Docker volume mounts. Default to /tmp:/tmp
|
||||
default: /tmp:/tmp
|
||||
required: false
|
||||
|
||||
configured using a Secret.
|
||||
required: true
|
||||
runs:
|
||||
using: node24
|
||||
using: node12
|
||||
main: dist/index.js
|
||||
@@ -1,3 +1,3 @@
|
||||
export default {
|
||||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
};
|
||||
Vendored
+1787
File diff suppressed because it is too large.
Load diff
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
install-apt sl
|
||||
|
||||
exec runuser -u ubuntu renovate
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
@@ -1,18 +1,29 @@
|
||||
module.exports = {
|
||||
branchPrefix: 'test-renovate/',
|
||||
username: 'renovate-release',
|
||||
dryRun: true,
|
||||
gitAuthor: 'Renovate Bot <bot@renovateapp.com>',
|
||||
logLevel: 'debug',
|
||||
onboarding: false,
|
||||
platform: 'github',
|
||||
forkProcessing: 'enabled',
|
||||
dryRun: 'full',
|
||||
repositories: ['renovate-tests/cocoapods1', 'renovate-tests/gomod1'],
|
||||
includeForks: true,
|
||||
repositories: [
|
||||
'renovatebot/github-action',
|
||||
'renovate-tests/cocoapods1',
|
||||
'renovate-tests/gomod1',
|
||||
],
|
||||
packageRules: [
|
||||
{
|
||||
description: 'lockFileMaintenance',
|
||||
matchUpdateTypes: ['pin', 'digest', 'patch', 'minor', 'major', 'lockFileMaintenance'],
|
||||
dependencyDashboardApproval: false,
|
||||
minimumReleaseAge: null,
|
||||
updateTypes: [
|
||||
'pin',
|
||||
'digest',
|
||||
'patch',
|
||||
'minor',
|
||||
'major',
|
||||
'lockFileMaintenance',
|
||||
],
|
||||
masterIssueApproval: false,
|
||||
stabilityDays: 0,
|
||||
},
|
||||
],
|
||||
};
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"branchPrefix": "test-renovate/",
|
||||
"dryRun": "full",
|
||||
"username": "renovate-release",
|
||||
"dryRun": true,
|
||||
"gitAuthor": "Renovate Bot <bot@renovateapp.com>",
|
||||
"logLevel": "debug",
|
||||
"onboarding": false,
|
||||
"platform": "github",
|
||||
"forkProcessing": "enabled",
|
||||
"includeForks": true,
|
||||
"repositories": [
|
||||
"renovatebot/github-action",
|
||||
"renovate-tests/cocoapods1",
|
||||
@@ -14,9 +14,16 @@
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "lockFileMaintenance",
|
||||
"matchUpdateTypes": ["pin", "digest", "patch", "minor", "major", "lockFileMaintenance"],
|
||||
"dependencyDashboardApproval": false,
|
||||
"minimumReleaseAge": "1 day"
|
||||
"updateTypes": [
|
||||
"pin",
|
||||
"digest",
|
||||
"patch",
|
||||
"minor",
|
||||
"major",
|
||||
"lockFileMaintenance"
|
||||
],
|
||||
"masterIssueApproval": false,
|
||||
"stabilityDays": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Generated
+5774
File diff suppressed because it is too large.
Load diff
+44
-51
@@ -1,64 +1,57 @@
|
||||
{
|
||||
"name": "github-action",
|
||||
"version": "0.0.0-PLACEHOLDER",
|
||||
"private": true,
|
||||
"version": "23.19.4",
|
||||
"description": "GitHub Action to run Renovate self-hosted.",
|
||||
"homepage": "https://github.com/renovatebot/github-action#readme",
|
||||
"bugs": {
|
||||
"url": "https://github.com/renovatebot/github-action/issues"
|
||||
"private": true,
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"format": "prettier --write \"**/*.{js,jsx,vue,ts,css,less,scss,html,htm,json,md,markdown,yml,yaml}\"",
|
||||
"format:file": "prettier --write",
|
||||
"lint": "concurrently npm:lint-es",
|
||||
"lint:fix": "concurrently npm:lint-es:fix",
|
||||
"lint-es": "eslint --ext .ts,.tsx,.js,.jsx,.json .",
|
||||
"lint-es:file": "eslint --ext .ts,.tsx,.js,.jsx,.json",
|
||||
"lint-es:fix": "eslint --ext .ts,.tsx,.js,.jsx,.json --fix .",
|
||||
"lint-es:file:fix": "eslint --ext .ts,.tsx,.js,.jsx,.json --fix",
|
||||
"release:version": "node_modules/.bin/ts-node src/get-version",
|
||||
"release:commit": "git add --force dist",
|
||||
"release:standard-version": "standard-version --release-as",
|
||||
"release": "run-s build release:commit \"release:standard-version -- {1}\" --",
|
||||
"build": "ncc build -o dist",
|
||||
"start": "run-s build && node dist"
|
||||
},
|
||||
"license": "GPL-3.0-or-later",
|
||||
"author": "Jeroen de Bruijn",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/renovatebot/github-action.git"
|
||||
},
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"build": "run-s clean compile",
|
||||
"clean": "rimraf dist/",
|
||||
"compile": "node tools/compile.js",
|
||||
"lint": "run-s lint:*",
|
||||
"lint:oxlint": "oxlint",
|
||||
"lint:oxfmt": "oxfmt --check",
|
||||
"fix": "run-s fix:*",
|
||||
"fix:oxlint": "oxlint --fix",
|
||||
"fix:oxfmt": "oxfmt",
|
||||
"prepare": "husky",
|
||||
"release": "run-s clean build semantic-release",
|
||||
"semantic-release": "semantic-release",
|
||||
"start": "run-s build && node dist"
|
||||
"author": "Jeroen de Bruijn",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"bugs": {
|
||||
"url": "https://github.com/renovatebot/github-action/issues"
|
||||
},
|
||||
"homepage": "https://github.com/renovatebot/github-action#readme",
|
||||
"dependencies": {
|
||||
"@actions/core": "3.0.1",
|
||||
"@actions/exec": "3.0.0"
|
||||
"@actions/core": "1.2.4",
|
||||
"@actions/exec": "1.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "21.3.0",
|
||||
"@commitlint/config-conventional": "21.3.0",
|
||||
"@containerbase/oxlint-plugin": "1.1.0",
|
||||
"@semantic-release/git": "11.0.1",
|
||||
"@semantic-release/github": "12.0.11",
|
||||
"@semantic-release/npm": "13.2.0",
|
||||
"@tsconfig/node24": "24.0.6",
|
||||
"@tsconfig/strictest": "2.0.9",
|
||||
"@types/node": "24.19.4",
|
||||
"conventional-changelog-conventionalcommits": "9.3.1",
|
||||
"esbuild": "0.28.2",
|
||||
"husky": "9.1.7",
|
||||
"lint-staged": "17.6.3",
|
||||
"npm-run-all2": "9.1.0",
|
||||
"oxfmt": "0.80.0",
|
||||
"oxlint": "1.95.0",
|
||||
"oxlint-tsgolint": "7.0.2009",
|
||||
"rimraf": "6.1.4",
|
||||
"semantic-release": "25.0.9",
|
||||
"typescript": "5.9.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.11.0",
|
||||
"pnpm": "^10.0.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.34.9"
|
||||
"@commitlint/cli": "9.1.2",
|
||||
"@commitlint/config-conventional": "9.1.2",
|
||||
"@types/node": "13.13.16",
|
||||
"@typescript-eslint/eslint-plugin": "3.10.1",
|
||||
"@typescript-eslint/parser": "3.10.1",
|
||||
"@zeit/ncc": "0.22.3",
|
||||
"concurrently": "5.3.0",
|
||||
"eslint": "7.8.1",
|
||||
"eslint-config-prettier": "6.11.0",
|
||||
"eslint-plugin-json": "2.1.2",
|
||||
"eslint-plugin-prettier": "3.1.4",
|
||||
"husky": "4.3.0",
|
||||
"lint-staged": "10.2.11",
|
||||
"npm-run-all": "4.1.5",
|
||||
"prettier": "2.1.0",
|
||||
"standard-version": "8.0.2",
|
||||
"ts-node": "8.10.2",
|
||||
"typescript": "3.9.7"
|
||||
}
|
||||
}
|
||||
Generated
-3747
File diff suppressed because it is too large.
Load diff
@@ -1,18 +0,0 @@
|
||||
strictPeerDependencies: true
|
||||
saveExact: true
|
||||
dedupePeers: true
|
||||
# updates are handled by Renovate itself
|
||||
updateNotifier: false
|
||||
|
||||
allowBuilds:
|
||||
esbuild: false
|
||||
|
||||
# in line with https://github.com/renovatebot/.github/blob/main/default.json,
|
||||
# all non-Renovate or non-Containerbase packages should only be installed after
|
||||
# 7 days
|
||||
minimumReleaseAge: 10080
|
||||
minimumReleaseAgeExclude:
|
||||
- '@renovatebot/*'
|
||||
- '@containerbase/*'
|
||||
# Renovate security update: esbuild@0.28.1
|
||||
- esbuild@0.28.1
|
||||
+12
-31
@@ -1,35 +1,16 @@
|
||||
import { info, warning } from '@actions/core';
|
||||
import type { Input } from './input';
|
||||
|
||||
export class Docker {
|
||||
private static readonly image = 'ghcr.io/renovatebot/renovate';
|
||||
private static readonly version = '45'; // renovate
|
||||
|
||||
private readonly fullImageReference: string;
|
||||
|
||||
constructor(input: Input) {
|
||||
let image = input.getDockerImage();
|
||||
let version = input.getVersion();
|
||||
|
||||
if (image?.includes(':')) {
|
||||
info(`Docker image looks like it contains a version, using that as the image itself`);
|
||||
this.fullImageReference = image;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!image) {
|
||||
warning(`No Docker image specified, using ${Docker.image}`);
|
||||
image = Docker.image;
|
||||
}
|
||||
if (!version) {
|
||||
warning(`No Docker version specified, using ${Docker.version}`);
|
||||
version = Docker.version;
|
||||
}
|
||||
|
||||
this.fullImageReference = `${image}:${version}`;
|
||||
}
|
||||
class Docker {
|
||||
readonly repository = 'renovate/renovate';
|
||||
// renovate: datasource=docker depName=renovate/renovate versioning=docker
|
||||
readonly tag = '23.19.4-slim';
|
||||
readonly tagSuffix = '-slim';
|
||||
|
||||
image(): string {
|
||||
return this.fullImageReference;
|
||||
return `${this.repository}:${this.tag}`;
|
||||
}
|
||||
|
||||
version(): string {
|
||||
return this.tag.replace(this.tagSuffix, '');
|
||||
}
|
||||
}
|
||||
|
||||
export default Docker;
|
||||
@@ -0,0 +1,5 @@
|
||||
import * as core from '@actions/core';
|
||||
import Docker from './docker';
|
||||
|
||||
const docker = new Docker();
|
||||
core.setOutput('version', docker.version());
|
||||
+6
-11
@@ -1,22 +1,17 @@
|
||||
import { group, notice, setFailed } from '@actions/core';
|
||||
import { Input } from './input';
|
||||
import { Renovate } from './renovate';
|
||||
import * as core from '@actions/core';
|
||||
import Input from './input';
|
||||
import Renovate from './renovate';
|
||||
|
||||
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' });
|
||||
});
|
||||
const renovate = new Renovate(input.configurationFile, input.token);
|
||||
|
||||
await renovate.runDockerContainer();
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
setFailed(error as Error);
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
}
|
||||
|
||||
void run();
|
||||
run();
|
||||
+14
-131
@@ -1,137 +1,20 @@
|
||||
import path from 'node:path';
|
||||
import { getInput, getMultilineInput, warning } from '@actions/core';
|
||||
import * as core from '@actions/core';
|
||||
|
||||
export interface EnvironmentVariable {
|
||||
key: string;
|
||||
value: string;
|
||||
}
|
||||
|
||||
export class Input {
|
||||
readonly options = {
|
||||
envRegex:
|
||||
/^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|NO_COLOR|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$/,
|
||||
configurationFile: {
|
||||
input: 'configurationFile',
|
||||
env: 'RENOVATE_CONFIG_FILE',
|
||||
optional: true,
|
||||
},
|
||||
token: {
|
||||
input: 'token',
|
||||
env: 'RENOVATE_TOKEN',
|
||||
optional: false,
|
||||
},
|
||||
} as const;
|
||||
readonly token: Readonly<EnvironmentVariable>;
|
||||
|
||||
private readonly _environmentVariables: Map<string, string>;
|
||||
private readonly _configurationFile: Readonly<EnvironmentVariable>;
|
||||
class Input {
|
||||
readonly configurationFile = core.getInput('configurationFile', {
|
||||
required: true,
|
||||
});
|
||||
readonly token = core.getInput('token', { required: true });
|
||||
|
||||
constructor() {
|
||||
const envRegexInput = getInput('env-regex');
|
||||
const envRegex = envRegexInput ? new RegExp(envRegexInput) : this.options.envRegex;
|
||||
const additionalEnvVarNames = getMultilineInput('additional-env-list');
|
||||
this._environmentVariables = new Map(
|
||||
Object.entries(process.env)
|
||||
.filter(([key]) => envRegex.test(key) || additionalEnvVarNames.includes(key))
|
||||
.filter((pair): pair is [string, string] => pair[1] !== undefined),
|
||||
);
|
||||
for (const name of additionalEnvVarNames) {
|
||||
if (!this._environmentVariables.has(name)) {
|
||||
warning(
|
||||
`Environment variable '${name}' listed in 'additional-env-list' was not found in the parent process environment; it will not be passed to the renovate container.`,
|
||||
);
|
||||
}
|
||||
this.validate();
|
||||
}
|
||||
|
||||
validate(): void {
|
||||
if (this.token === '') {
|
||||
throw new Error('input.token MUST NOT be empty');
|
||||
}
|
||||
|
||||
this.token = this.get(
|
||||
this.options.token.input,
|
||||
this.options.token.env,
|
||||
this.options.token.optional,
|
||||
);
|
||||
this._configurationFile = this.get(
|
||||
this.options.configurationFile.input,
|
||||
this.options.configurationFile.env,
|
||||
this.options.configurationFile.optional,
|
||||
);
|
||||
}
|
||||
|
||||
configurationFile(): EnvironmentVariable | null {
|
||||
if (this._configurationFile.value !== '') {
|
||||
return {
|
||||
key: this._configurationFile.key,
|
||||
value: path.resolve(this._configurationFile.value),
|
||||
};
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
getDockerImage(): string | null {
|
||||
return getInput('renovate-image') || null;
|
||||
}
|
||||
|
||||
getVersion(): string | null {
|
||||
return getInput('renovate-version') || null;
|
||||
}
|
||||
|
||||
mountDockerSocket(): boolean {
|
||||
return getInput('mount-docker-socket') === 'true';
|
||||
}
|
||||
|
||||
dockerSocketHostPath(): string {
|
||||
return getInput('docker-socket-host-path') || '/var/run/docker.sock';
|
||||
}
|
||||
|
||||
getDockerCmdFile(): string | null {
|
||||
const cmdFile = getInput('docker-cmd-file');
|
||||
return !!cmdFile && cmdFile !== '' ? path.resolve(cmdFile) : null;
|
||||
}
|
||||
|
||||
getDockerUser(): string | null {
|
||||
return getInput('docker-user') || null;
|
||||
}
|
||||
|
||||
getDockerVolumeMounts(): string[] {
|
||||
return getInput('docker-volumes')
|
||||
.split(';')
|
||||
.map((v) => v.trim())
|
||||
.filter((v) => !!v);
|
||||
}
|
||||
|
||||
getDockerNetwork(): string {
|
||||
return getInput('docker-network');
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert to environment variables.
|
||||
*
|
||||
* @note The environment variables listed below are filtered out.
|
||||
* - Token, available with the `token` property.
|
||||
* - Configuration file, available with the `configurationFile()` method.
|
||||
*/
|
||||
toEnvironmentVariables(): EnvironmentVariable[] {
|
||||
return [...this._environmentVariables].map(([key, value]) => ({
|
||||
key,
|
||||
value,
|
||||
}));
|
||||
}
|
||||
|
||||
private get(input: string, env: string, optional: boolean): EnvironmentVariable {
|
||||
const fromInput = getInput(input);
|
||||
const fromEnv = this._environmentVariables.get(env);
|
||||
|
||||
if (fromInput === '' && fromEnv === undefined && !optional) {
|
||||
throw new Error(
|
||||
[`'${input}' MUST be passed using its input or the '${env}'`, 'environment variable'].join(
|
||||
' ',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
this._environmentVariables.delete(env);
|
||||
if (fromInput !== '') {
|
||||
return { key: env, value: fromInput };
|
||||
}
|
||||
return { key: env, value: fromEnv ?? '' };
|
||||
}
|
||||
}
|
||||
|
||||
export default Input;
|
||||
+50
-99
@@ -1,102 +1,43 @@
|
||||
import fs from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import { exec, getExecOutput } from '@actions/exec';
|
||||
import { Docker } from './docker';
|
||||
import { Input } from './input';
|
||||
import Docker from './docker';
|
||||
import { exec } from '@actions/exec';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
export class Renovate {
|
||||
static dockerGroupRegex = /^docker:x:(?<groupId>[1-9][0-9]*):/m;
|
||||
private static readonly userAgentKey = 'RENOVATE_USER_AGENT';
|
||||
private static readonly defaultUserAgent =
|
||||
'Renovate/{{renovateVersion}} (https://github.com/renovatebot/github-action)';
|
||||
class Renovate {
|
||||
private configFileEnv = 'RENOVATE_CONFIG_FILE';
|
||||
private tokenEnv = 'RENOVATE_TOKEN';
|
||||
private dockerGroupName = 'docker';
|
||||
private configFileMountDir = '/github-action';
|
||||
|
||||
private configFile: string;
|
||||
private docker: Docker;
|
||||
|
||||
constructor(private input: Input) {
|
||||
this.docker = new Docker(input);
|
||||
}
|
||||
constructor(configFile: string, private token: string) {
|
||||
this.configFile = path.resolve(configFile);
|
||||
|
||||
async runDockerContainerForVersion(): Promise<string> {
|
||||
const command = `docker run --env FORCE_COLOR=3 --rm ${this.docker.image()} --version`;
|
||||
this.validateArguments();
|
||||
|
||||
const { exitCode, stdout } = await getExecOutput(command);
|
||||
if (exitCode !== 0) {
|
||||
throw new Error(`'docker run' failed with exit code ${exitCode}.`);
|
||||
}
|
||||
|
||||
return stdout.trim();
|
||||
this.docker = new Docker();
|
||||
}
|
||||
|
||||
async runDockerContainer(): Promise<void> {
|
||||
await this.validateArguments();
|
||||
|
||||
const dockerArguments = this.input
|
||||
.toEnvironmentVariables()
|
||||
.map((e) => `--env ${e.key}`)
|
||||
.concat([`--env ${this.input.token.key}=${this.input.token.value} --env FORCE_COLOR=3`]);
|
||||
|
||||
if (!this.input.toEnvironmentVariables().some((e) => e.key === Renovate.userAgentKey)) {
|
||||
dockerArguments.push(`--env "${Renovate.userAgentKey}=${Renovate.defaultUserAgent}"`);
|
||||
}
|
||||
|
||||
const configurationFile = this.input.configurationFile();
|
||||
if (configurationFile !== null) {
|
||||
const baseName = path.basename(configurationFile.value);
|
||||
const mountPath = path.join(this.configFileMountDir, baseName);
|
||||
dockerArguments.push(
|
||||
`--env ${configurationFile.key}=${mountPath}`,
|
||||
`--volume ${configurationFile.value}:${mountPath}`,
|
||||
);
|
||||
}
|
||||
|
||||
if (this.input.mountDockerSocket()) {
|
||||
const sockPath = this.input.dockerSocketHostPath();
|
||||
const stat = await fs.stat(sockPath);
|
||||
if (!stat.isSocket()) {
|
||||
throw new Error(`docker socket host path '${sockPath}' MUST exist and be a socket`);
|
||||
}
|
||||
|
||||
dockerArguments.push(
|
||||
`--volume ${sockPath}:/var/run/docker.sock`,
|
||||
`--group-add ${await this.getDockerGroupId()}`,
|
||||
);
|
||||
}
|
||||
|
||||
const dockerCmdFile = this.input.getDockerCmdFile();
|
||||
let dockerCmd: string | null = null;
|
||||
if (dockerCmdFile !== null) {
|
||||
const baseName = path.basename(dockerCmdFile);
|
||||
const mountPath = `/${baseName}`;
|
||||
dockerArguments.push(`--volume ${dockerCmdFile}:${mountPath}`);
|
||||
dockerCmd = mountPath;
|
||||
}
|
||||
|
||||
const dockerUser = this.input.getDockerUser();
|
||||
if (dockerUser !== null) {
|
||||
dockerArguments.push(`--user ${dockerUser}`);
|
||||
}
|
||||
|
||||
for (const volumeMount of this.input.getDockerVolumeMounts()) {
|
||||
dockerArguments.push(`--volume ${volumeMount}`);
|
||||
}
|
||||
|
||||
const dockerNetwork = this.input.getDockerNetwork();
|
||||
if (dockerNetwork) {
|
||||
dockerArguments.push(`--network ${dockerNetwork}`);
|
||||
}
|
||||
|
||||
dockerArguments.push('--rm', this.docker.image());
|
||||
|
||||
if (dockerCmd !== null) {
|
||||
dockerArguments.push(dockerCmd);
|
||||
}
|
||||
|
||||
const command = `docker run ${dockerArguments.join(' ')}`;
|
||||
const renovateDockerUser = 'ubuntu';
|
||||
const githubActionsDockerGroupId = this.getDockerGroupId();
|
||||
const commandArguments = [
|
||||
'--rm',
|
||||
`--env ${this.configFileEnv}=${this.configFileMountPath()}`,
|
||||
`--env ${this.tokenEnv}=${this.token}`,
|
||||
`--volume ${this.configFile}:${this.configFileMountPath()}`,
|
||||
`--volume /var/run/docker.sock:/var/run/docker.sock`,
|
||||
`--volume /tmp:/tmp`,
|
||||
`--user ${renovateDockerUser}:${githubActionsDockerGroupId}`,
|
||||
this.docker.image(),
|
||||
];
|
||||
const command = `docker run ${commandArguments.join(' ')}`;
|
||||
|
||||
const code = await exec(command);
|
||||
if (code !== 0) {
|
||||
throw new Error(`'docker run' failed with exit code ${code}.`);
|
||||
new Error(`'docker run' failed with exit code ${code}.`);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -106,9 +47,9 @@ export class Renovate {
|
||||
* The Renovate container needs access to this group in order to have the
|
||||
* required permissions on the Docker socket.
|
||||
*/
|
||||
private async getDockerGroupId(): Promise<string> {
|
||||
private getDockerGroupId(): string {
|
||||
const groupFile = '/etc/group';
|
||||
const groups = await fs.readFile(groupFile, {
|
||||
const groups = fs.readFileSync(groupFile, {
|
||||
encoding: 'utf-8',
|
||||
});
|
||||
|
||||
@@ -118,22 +59,32 @@ export class Renovate {
|
||||
*
|
||||
* Source: https://www.thegeekdiary.com/etcgroup-file-explained/
|
||||
*/
|
||||
const match = Renovate.dockerGroupRegex.exec(groups);
|
||||
if (match?.groups?.groupId === undefined) {
|
||||
throw new Error(`Could not find group docker in ${groupFile}`);
|
||||
const re = new RegExp(`^${this.dockerGroupName}:x:([1-9][0-9]*):`, 'm');
|
||||
const match = re.exec(groups);
|
||||
if (!match || match.length < 2) {
|
||||
throw new Error(
|
||||
`Could not find group '${this.dockerGroupName}' in ${groupFile}`
|
||||
);
|
||||
}
|
||||
|
||||
return match.groups.groupId;
|
||||
return match[1];
|
||||
}
|
||||
|
||||
private async validateArguments(): Promise<void> {
|
||||
if (/\s/.test(this.input.token.value)) {
|
||||
throw new Error('Token MUST NOT contain whitespace');
|
||||
private validateArguments(): void {
|
||||
if (!fs.existsSync(this.configFile)) {
|
||||
throw new Error(
|
||||
`Could not locate configuration file '${this.configFile}'.`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
const configurationFile = this.input.configurationFile();
|
||||
if (configurationFile !== null && !(await fs.stat(configurationFile.value)).isFile()) {
|
||||
throw new Error(`configuration file '${configurationFile.value}' MUST be an existing file`);
|
||||
}
|
||||
private configFileName(): string {
|
||||
return path.basename(this.configFile);
|
||||
}
|
||||
|
||||
private configFileMountPath(): string {
|
||||
return path.join(this.configFileMountDir, this.configFileName());
|
||||
}
|
||||
}
|
||||
|
||||
export default Renovate;
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"sourceMap": false,
|
||||
"declaration": false,
|
||||
"rootDir": ".",
|
||||
"outDir": "dist",
|
||||
"types": ["node"]
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
// https://github.com/evanw/esbuild/issues/1921#issuecomment-1898197331
|
||||
import { createRequire } from 'node:module';
|
||||
import path from 'node:path';
|
||||
import url from 'node:url';
|
||||
|
||||
globalThis.require = createRequire(import.meta.url);
|
||||
globalThis.__filename = url.fileURLToPath(import.meta.url);
|
||||
globalThis.__dirname = path.dirname(__filename);
|
||||
@@ -1,15 +0,0 @@
|
||||
import { env } from 'node:process';
|
||||
import { build } from 'esbuild';
|
||||
|
||||
await build({
|
||||
entryPoints: ['./src/index.ts'],
|
||||
bundle: true,
|
||||
platform: 'node',
|
||||
target: 'node24',
|
||||
minify: !!env.CI,
|
||||
tsconfig: 'tsconfig.dist.json',
|
||||
sourcemap: true,
|
||||
format: 'esm',
|
||||
outdir: './dist/',
|
||||
inject: ['tools/cjs-shim.ts'], // https://github.com/evanw/esbuild/issues/1921#issuecomment-1898197331
|
||||
});
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": ["@tsconfig/strictest/tsconfig.json", "@tsconfig/node24/tsconfig.json"],
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"noEmit": true
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"types": ["node"]
|
||||
},
|
||||
"files": ["./src/index.ts"]
|
||||
}
|
||||
+8
-8
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"extends": ["@tsconfig/strictest/tsconfig.json", "@tsconfig/node24/tsconfig.json"],
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"target": "es2020",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"outDir": "dist",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"noImplicitAny": false,
|
||||
"noPropertyAccessFromIndexSignature": false /* makes code more complex */
|
||||
"outDir": "dist"
|
||||
},
|
||||
"exclude": ["node_modules/", "**/__mocks__/*", "dist/", "coverage/", "html/"]
|
||||
"include": ["src/**/*.ts", "bin/**/*.ts"],
|
||||
"exclude": ["node_modules", "**/*.test.ts"]
|
||||
}
|
||||
Reference in new issue
Block a user