This commit is contained in:
parent
dcc610e6bb
commit
15b2209786
2 changed files with 9 additions and 4 deletions
|
@ -54,7 +54,12 @@ runs:
|
||||||
RENOVATE_PLATFORM: gitea
|
RENOVATE_PLATFORM: gitea
|
||||||
RENOVATE_REPOSITORY_CACHE: 'enabled'
|
RENOVATE_REPOSITORY_CACHE: 'enabled'
|
||||||
RENOVATE_TOKEN: ${{ inputs.token }}
|
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_NAME: 'Renovate Bot'
|
||||||
GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'
|
GIT_AUTHOR_EMAIL: 'smeagol@hsn.dev'
|
||||||
GIT_COMMITTER_NAME: 'Renovate Bot'
|
GIT_COMMITTER_NAME: 'Renovate Bot'
|
||||||
|
|
|
@ -29,9 +29,9 @@ jobs:
|
||||||
uses: ./.forgejo/actions/renovate
|
uses: ./.forgejo/actions/renovate
|
||||||
with:
|
with:
|
||||||
endpoint: https://git.hsn.dev/api/v1/
|
endpoint: https://git.hsn.dev/api/v1/
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
github-token: ${{ secrets.GH_TOKEN }}
|
args: --platform gitea --autodiscover
|
||||||
github-username: ${{ secrets.GH_USERNAME }}
|
github-username: ${{ secrets.GH_USERNAME }}
|
||||||
|
github-token: ${{ secrets.GH_TOKEN }}
|
||||||
docker-username: ${{ secrets.DOCKER_USERNAME }}
|
docker-username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
docker-password: ${{ secrets.DOCKER_PASSWORD }}
|
docker-password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
args: --platform gitea --autodiscover
|
|
||||||
|
|
Loading…
Reference in a new issue