mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-27 12:43:37 +00:00
Merge branch 'main' into docs/fix-broken-links
This commit is contained in:
commit
8db1e22402
7 changed files with 5601 additions and 30 deletions
24
.github/renovate.json
vendored
24
.github/renovate.json
vendored
|
|
@ -1,15 +1,23 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["github>renovatebot/presets-internal:node", ":pinDependencies"],
|
"extends": ["github>renovatebot/.github", ":pinDependencies"],
|
||||||
"major": {
|
|
||||||
"stabilityDays": 3
|
|
||||||
},
|
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Automerge Renovate updates",
|
"description": "Automerge Renovate updates",
|
||||||
"packageNames": ["renovate/renovate"],
|
"packageNames": ["renovate/renovate"],
|
||||||
"updateTypes": ["major", "minor", "patch"],
|
"updateTypes": ["major", "minor", "patch"],
|
||||||
"semanticCommitType": "fix"
|
"semanticCommitType": "fix"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Update references in markdown files weekly",
|
||||||
|
"matchPaths": [".md"],
|
||||||
|
"extends": ["schedule:weekly"],
|
||||||
|
"automerge": true,
|
||||||
|
"stabilityDays": 0,
|
||||||
|
"commitMessageTopic": "references to {{{depName}}}",
|
||||||
|
"semanticCommitType": "docs",
|
||||||
|
"semanticCommitScope": null,
|
||||||
|
"additionalBranchPrefix": "docs-"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"regexManagers": [
|
"regexManagers": [
|
||||||
|
|
@ -19,6 +27,14 @@
|
||||||
"// renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s+readonly\\s+tag\\s+=\\s+'(?<currentValue>.+?)';"
|
"// 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}}"
|
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fileMatch": ["^README\\.md$"],
|
||||||
|
"matchStrings": [
|
||||||
|
"uses: renovatebot/github-action@(?<currentValue>[^\\s]+)"
|
||||||
|
],
|
||||||
|
"depNameTemplate": "renovatebot/github-action",
|
||||||
|
"datasourceTemplate": "github-releases"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
LOG_LEVEL: debug
|
LOG_LEVEL: debug
|
||||||
with:
|
with:
|
||||||
configurationFile: ${{ matrix.configurationFile }}
|
configurationFile: ${{ matrix.configurationFile }}
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: [lint, commitlint, e2e]
|
needs: [lint, commitlint, e2e]
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.0.0
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v21.30.0
|
uses: renovatebot/github-action@v21.33.15
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
@ -124,7 +124,7 @@ jobs:
|
||||||
uses: actions/checkout@v2.0.0
|
uses: actions/checkout@v2.0.0
|
||||||
|
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v21.30.0
|
uses: renovatebot/github-action@v21.33.15
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: 'x-access-token:${{ steps.get_token.outputs.app_token }}'
|
token: 'x-access-token:${{ steps.get_token.outputs.app_token }}'
|
||||||
|
|
@ -139,7 +139,7 @@ To enable debug logging, add the environment variable `LOG_LEVEL: 'debug'` to th
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@v21.30.0
|
uses: renovatebot/github-action@v21.33.15
|
||||||
with:
|
with:
|
||||||
configurationFile: example/renovate-config.js
|
configurationFile: example/renovate-config.js
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
branchPrefix: 'test-renovate/',
|
branchPrefix: 'test-renovate/',
|
||||||
dryRun: true,
|
dryRun: true,
|
||||||
|
username: 'renovate-release',
|
||||||
gitAuthor: 'Renovate Bot <bot@renovateapp.com>',
|
gitAuthor: 'Renovate Bot <bot@renovateapp.com>',
|
||||||
onboarding: false,
|
onboarding: false,
|
||||||
platform: 'github',
|
platform: 'github',
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"branchPrefix": "test-renovate/",
|
"branchPrefix": "test-renovate/",
|
||||||
"dryRun": true,
|
"dryRun": true,
|
||||||
|
"username": "renovate-release",
|
||||||
"gitAuthor": "Renovate Bot <bot@renovateapp.com>",
|
"gitAuthor": "Renovate Bot <bot@renovateapp.com>",
|
||||||
"onboarding": false,
|
"onboarding": false,
|
||||||
"platform": "github",
|
"platform": "github",
|
||||||
|
|
|
||||||
5595
package-lock.json
generated
5595
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,7 +1,7 @@
|
||||||
class Docker {
|
class Docker {
|
||||||
readonly repository = 'renovate/renovate';
|
readonly repository = 'renovate/renovate';
|
||||||
// renovate: datasource=docker depName=renovate/renovate versioning=docker
|
// renovate: datasource=docker depName=renovate/renovate versioning=docker
|
||||||
readonly tag = '26.4.1-slim';
|
readonly tag = '26.4.2-slim';
|
||||||
readonly tagSuffix = '-slim';
|
readonly tagSuffix = '-slim';
|
||||||
|
|
||||||
image(): string {
|
image(): string {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue