mirror of
https://github.com/renovatebot/github-action.git
synced 2026-02-03 18:58:09 +00:00
Merge branch 'main' into update-runner-node-version
This commit is contained in:
commit
7b2f5598c1
5 changed files with 29 additions and 4 deletions
4
.github/actions/setup-node/action.yml
vendored
4
.github/actions/setup-node/action.yml
vendored
|
|
@ -18,7 +18,7 @@ runs:
|
||||||
}}' >> "$GITHUB_ENV"
|
}}' >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: ♻️ Restore `node_modules`
|
- name: ♻️ Restore `node_modules`
|
||||||
uses: actions/cache/restore@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
|
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
|
||||||
id: node-modules-restore
|
id: node-modules-restore
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
|
|
@ -53,7 +53,7 @@ runs:
|
||||||
|
|
||||||
- name: ♻️ Write `node_modules` cache
|
- name: ♻️ Write `node_modules` cache
|
||||||
if: inputs.save-cache == 'true' && env.CACHE_HIT != 'true'
|
if: inputs.save-cache == 'true' && env.CACHE_HIT != 'true'
|
||||||
uses: actions/cache/save@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
|
uses: actions/cache/save@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ env.CACHE_KEY }}
|
key: ${{ env.CACHE_KEY }}
|
||||||
|
|
|
||||||
6
.github/renovate.json
vendored
6
.github/renovate.json
vendored
|
|
@ -2,9 +2,15 @@
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["github>renovatebot/.github", ":pinDependencies"],
|
"extends": ["github>renovatebot/.github", ":pinDependencies"],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"description": "Always group updates to the Renovate Docker image",
|
||||||
|
"groupName": "renovate",
|
||||||
|
"matchPackageNames": ["ghcr.io/renovatebot/renovate"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"description": "Update references in Markdown files weekly",
|
"description": "Update references in Markdown files weekly",
|
||||||
"matchFileNames": ["**/*.md"],
|
"matchFileNames": ["**/*.md"],
|
||||||
|
"matchUpdateTypes": ["!major"],
|
||||||
"extends": ["schedule:weekly"],
|
"extends": ["schedule:weekly"],
|
||||||
"automerge": true,
|
"automerge": true,
|
||||||
"minimumReleaseAge": null,
|
"minimumReleaseAge": null,
|
||||||
|
|
|
||||||
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -10,7 +10,7 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RENOVATE_VERSION: 42.92.11 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
|
RENOVATE_VERSION: 42.95.1 # renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
|
|
@ -117,7 +117,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/renovatebot/renovate:42.92.11@sha256:de9d73d637da5a170d0b43c122d259a5e3baac6a7f7c7b46a89e0b9e9d9938c2
|
image: ghcr.io/renovatebot/renovate:42.95.1@sha256:af45fc43af24a3bbd9cc55ea6ac189d3910c988e82fa9acb93a5bb32d9f1bde5
|
||||||
# github hosted runners are running as `1001:127` (ubuntu:docker)
|
# github hosted runners are running as `1001:127` (ubuntu:docker)
|
||||||
options: -u 1001:0 --group-add 1000 --group-add 12021 --group-add 127
|
options: -u 1001:0 --group-add 1000 --group-add 12021 --group-add 127
|
||||||
|
|
||||||
|
|
|
||||||
18
.github/workflows/pr-auto.yml
vendored
Normal file
18
.github/workflows/pr-auto.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
name: auto-pr
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
review:
|
||||||
|
if: github.event.action == 'opened' && !endsWith(github.event.pull_request.user.login, '[bot]')
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- uses: hkusu/review-assign-action@5bee595fdb9765d4a0bd35724b6302fa15569158 # v1.4.0
|
||||||
|
with:
|
||||||
|
reviewers: ${{ vars.REVIEWERS }}
|
||||||
|
max-num-of-reviewers: 2
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
"@tsconfig/node20/tsconfig.json"
|
"@tsconfig/node20/tsconfig.json"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"allowJs": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue