This commit is contained in:
parent
8158c195f5
commit
084010e38c
7
.gitea/renovate.json
Normal file
7
.gitea/renovate.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"extends": ["config:recommended"],
|
||||
"platform": "gitea",
|
||||
"nix": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
19
.gitea/workflows/renovate.yaml
Normal file
19
.gitea/workflows/renovate.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Renovate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Renovate
|
||||
uses: renovatebot/github-action@v42.0.1
|
||||
with:
|
||||
configurationFile: .gitea/renovate.json
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
@ -43,7 +43,6 @@ jobs:
|
||||
REPO_OWNER_SLASH_NAME="${{ gitea.repository }}"
|
||||
|
||||
if ! git ls-remote --exit-code origin update; then
|
||||
|
||||
git push origin update --force
|
||||
|
||||
PR_RESPONSE=$(curl -s -X POST -H "Authorization: token $PAT" \
|
||||
@ -59,7 +58,5 @@ jobs:
|
||||
"https://$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls/$PR_NUMBER/merge"
|
||||
|
||||
else
|
||||
|
||||
git push origin update --force
|
||||
|
||||
fi
|
||||
|
7
.github/renovate.json
vendored
Normal file
7
.github/renovate.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"extends": ["config:recommended"],
|
||||
"platform": "github",
|
||||
"nix": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
19
.github/workflows/renovate.yaml
vendored
Normal file
19
.github/workflows/renovate.yaml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Renovate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Renovate
|
||||
uses: renovatebot/github-action@v42.0.1
|
||||
with:
|
||||
configurationFile: .github/renovate.json
|
||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user