From 15b22097868163b862040eb2d886e1267783be1f Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 1 Jan 2025 18:11:00 -0600 Subject: [PATCH] old renovate token --- .forgejo/actions/renovate/action.yaml | 7 ++++++- .forgejo/workflows/renovate.yaml | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.forgejo/actions/renovate/action.yaml b/.forgejo/actions/renovate/action.yaml index 2445c32..eeb3451 100644 --- a/.forgejo/actions/renovate/action.yaml +++ b/.forgejo/actions/renovate/action.yaml @@ -54,7 +54,12 @@ runs: RENOVATE_PLATFORM: gitea RENOVATE_REPOSITORY_CACHE: 'enabled' RENOVATE_TOKEN: ${{ inputs.token }} - RENOVATE_HOST_RULES: '[{"matchHost":"docker.io","hostType":"docker","username":"${{ inputs.docker-username }}","password":"${{ inputs.docker-password }}"},{"matchHost":"ghcr.io","hostType":"docker","username":"${{ inputs.github-username }}","password":"${{ inputs.github-token }}"},{"matchHost":"github.com","hostType":"github","token":"${{ inputs.github-token }}"}]' + RENOVATE_HOST_RULES: |- + [ + {"matchHost":"docker.io","hostType":"docker","username":"${{ inputs.docker-username }}","password":"${{ inputs.docker-password }}"}, + {"matchHost":"ghcr.io","hostType":"docker","username":"${{ inputs.github-username }}","password":"${{ inputs.github-token }}"}, + {"matchHost":"github.com","hostType":"github","token":"${{ inputs.github-token }}"} + ] GIT_AUTHOR_NAME: 'Renovate Bot' GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev' GIT_COMMITTER_NAME: 'Renovate Bot' diff --git a/.forgejo/workflows/renovate.yaml b/.forgejo/workflows/renovate.yaml index 57b08ef..144068d 100644 --- a/.forgejo/workflows/renovate.yaml +++ b/.forgejo/workflows/renovate.yaml @@ -29,9 +29,9 @@ jobs: uses: ./.forgejo/actions/renovate with: endpoint: https://git.hsn.dev/api/v1/ - token: ${{ secrets.RENOVATE_TOKEN }} - github-token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.GH_TOKEN }} + args: --platform gitea --autodiscover github-username: ${{ secrets.GH_USERNAME }} + github-token: ${{ secrets.GH_TOKEN }} docker-username: ${{ secrets.DOCKER_USERNAME }} docker-password: ${{ secrets.DOCKER_PASSWORD }} - args: --platform gitea --autodiscover