Renovate #42173
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Renovate | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 */2 * * *" | |
| concurrency: | |
| group: renovate-main | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| env: | |
| RENOVATE_VERSION: "43.63.0" | |
| jobs: | |
| renovate: | |
| runs-on: ubicloud-standard-4 | |
| timeout-minutes: 180 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - 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 | |
| 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: | |
| renovate-version: ${{ env.RENOVATE_VERSION }} | |
| configurationFile: .github/self-hosted-renovate.js | |
| token: ${{ secrets.GH_CQ_BOT }} | |
| env: | |
| RENOVATE_GITHUB_ACTOR: ${{ github.actor }} | |
| RENOVATE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |