diff --git a/.gitea/renovate.json b/.gitea/renovate.json new file mode 100644 index 0000000..b04e039 --- /dev/null +++ b/.gitea/renovate.json @@ -0,0 +1,7 @@ +{ + "extends": ["config:recommended"], + "platform": "gitea", + "nix": { + "enabled": true + } +} diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml new file mode 100644 index 0000000..7887b63 --- /dev/null +++ b/.gitea/workflows/renovate.yaml @@ -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 }} diff --git a/.gitea/workflows/update.yaml b/.gitea/workflows/update.yaml index fffdd72..9270e46 100644 --- a/.gitea/workflows/update.yaml +++ b/.gitea/workflows/update.yaml @@ -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 diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..f381cb7 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,7 @@ +{ + "extends": ["config:recommended"], + "platform": "github", + "nix": { + "enabled": true + } +} diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml new file mode 100644 index 0000000..73943a1 --- /dev/null +++ b/.github/workflows/renovate.yaml @@ -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 }}