Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
# - name: Renovate cache
# uses: actions/cache@v5
# with:
# path: ${{ github.workspace }}/.renovate-cache
# key: renovate-cache-${{ env.RENOVATE_VERSION }}-${{ github.run_id }}
# restore-keys: |
# renovate-cache-${{ env.RENOVATE_VERSION }}-
- name: Renovate cache
uses: actions/cache@v5
with:
path: /tmp/renovate/cache/renovate/repository
key: renovate-cache-${{ env.RENOVATE_VERSION }}-${{ github.run_id }}
restore-keys: |
renovate-cache-${{ env.RENOVATE_VERSION }}-
- name: Fix cache permissions
Copy link
Copy Markdown
Member Author

@erezrokah erezrokah Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run: |
# The permissions expected within renovate's docker container (uid 12021)
# are different than the ones given after the cache is restored.
# See https://github.com/renovatebot/github-action#persisting-the-repository-cache
sudo mkdir -p /tmp/renovate/cache/renovate/repository
sudo chown -R 12021:0 /tmp/renovate/
- name: Self-hosted Renovate
uses: renovatebot/github-action@v46.1.4
with:
Expand All @@ -37,5 +44,4 @@ jobs:
env:
RENOVATE_GITHUB_ACTOR: ${{ github.actor }}
RENOVATE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# RENOVATE_CACHE_DIR: ${{ github.workspace }}/.renovate-cache
LOG_LEVEL: 'debug'
Loading