mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-03 16:10:26 +03:00
Migrate from Gitea Actions to GitHub Actions
This commit is contained in:
@ -1,18 +0,0 @@
|
|||||||
name: RenovateBot
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "@daily"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
renovate:
|
|
||||||
container: ghcr.io/renovatebot/renovate:40-full
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Run Renovate updates
|
|
||||||
run: renovate
|
|
||||||
env:
|
|
||||||
RENOVATE_CONFIG_FILE: renovate.config.cjs
|
|
||||||
RENOVATE_REPOSITORIES: ${{ gitea.repository }}
|
|
||||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
|
14
.github/dependabot.yml
vendored
Normal file
14
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "npm"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
- package-ecosystem: "devcontainers"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
10
renovate.json → .github/renovate.json
vendored
10
renovate.json → .github/renovate.json
vendored
@ -2,19 +2,15 @@
|
|||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["config:recommended", ":disableDependencyDashboard"],
|
"extends": ["config:recommended", ":disableDependencyDashboard"],
|
||||||
"assignees": ["valentineus"],
|
"assignees": ["valentineus"],
|
||||||
"rangeStrategy": "bump",
|
"labels": ["dependencies", "automated"],
|
||||||
"npm": {
|
|
||||||
"enabled": true,
|
|
||||||
"ignoreScripts": true,
|
|
||||||
"skipInstalls": false
|
|
||||||
},
|
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Group patch & minor updates together",
|
"description": "Group patch & minor updates together",
|
||||||
"groupName": "all digest updates",
|
"groupName": "all digest updates",
|
||||||
"groupSlug": "all-digest",
|
"groupSlug": "all-digest",
|
||||||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
|
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
|
||||||
"matchPackageNames": ["*"]
|
"matchPackageNames": ["*"],
|
||||||
|
"automerge": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -6,8 +6,12 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
@ -1,6 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
endpoint: "https://code.popov.link",
|
|
||||||
gitAuthor: "RenovateBot <renovatebot@noreply.localhost>",
|
|
||||||
optimizeForDisabled: true,
|
|
||||||
platform: "gitea",
|
|
||||||
};
|
|
Reference in New Issue
Block a user