From 21909d4503cb9155905897243817b09dd251f695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20Sch=C3=A4fer?= Date: Fri, 3 Jan 2025 15:58:31 +0100 Subject: [PATCH 1/3] Replace Renovate autodiscovery with explicitly setting the repository --- .github/workflows/renovate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 230c84e6..e45f186e 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -19,7 +19,8 @@ jobs: GITHUB_COM_TOKEN: ${{ secrets.renovate_github_com_token }} # See LOG_LEVEL: info # debug | info | warn | error | fatal - RENOVATE_AUTODISCOVER: 'true' + # Autodiscover is better suited for an extra repo running Renovate on all desired repos + #RENOVATE_AUTODISCOVER: 'true' RENOVATE_CONFIG_FILE: renovate.json RENOVATE_ENDPOINT: ${{ github.api_url }} RENOVATE_GIT_AUTHOR: Renovate Bot @@ -29,6 +30,7 @@ jobs: RENOVATE_LOG_FILE: renovate-log.ndjson RENOVATE_LOG_FILE_LEVEL: debug RENOVATE_PLATFORM: gitea + RENOVATE_REPOSITORIES: ['${{ github.repository }}'] RENOVATE_REPOSITORY_CACHE: 'enabled' # github.token is not working here, it lacks some permissions required by Renovate RENOVATE_TOKEN: ${{ secrets.renovate_token }} From f34b2e2f6d20ee6629dbfd90e63cf65e4eea3b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20Sch=C3=A4fer?= Date: Fri, 3 Jan 2025 16:06:15 +0100 Subject: [PATCH 2/3] Always save the Renovate log --- .github/workflows/renovate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index e45f186e..7669e515 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -38,6 +38,7 @@ jobs: - name: Save log file # FIXME: v4 of this action causes an error on Forgejo (“You must configure a GitHub token”) uses: actions/upload-artifact@v3 + if: always() with: name: renovate-log.ndjson path: renovate-log.ndjson From ac16045100c97d8b07e4c15d2b6710962eb75094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20Sch=C3=A4fer?= Date: Fri, 3 Jan 2025 16:09:41 +0100 Subject: [PATCH 3/3] test pls ignore --- .github/workflows/renovate.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 7669e515..a64dee59 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -13,12 +13,12 @@ jobs: - uses: actions/checkout@v4 - name: Run Renovate - run: npx renovate + run: LOG_LEVEL=debug npx renovate env: # Renovate is using this token to retrieve release notes GITHUB_COM_TOKEN: ${{ secrets.renovate_github_com_token }} # See - LOG_LEVEL: info # debug | info | warn | error | fatal + LOG_LEVEL: debug # debug | info | warn | error | fatal # Autodiscover is better suited for an extra repo running Renovate on all desired repos #RENOVATE_AUTODISCOVER: 'true' RENOVATE_CONFIG_FILE: renovate.json @@ -30,7 +30,7 @@ jobs: RENOVATE_LOG_FILE: renovate-log.ndjson RENOVATE_LOG_FILE_LEVEL: debug RENOVATE_PLATFORM: gitea - RENOVATE_REPOSITORIES: ['${{ github.repository }}'] + RENOVATE_REPOSITORIES: ${{ github.repository }} RENOVATE_REPOSITORY_CACHE: 'enabled' # github.token is not working here, it lacks some permissions required by Renovate RENOVATE_TOKEN: ${{ secrets.renovate_token }}