mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
fix(renovate): sudo chown after cache
why do hosted runners have sudo
This commit is contained in:
22
.github/workflows/renovate.yaml
vendored
22
.github/workflows/renovate.yaml
vendored
@@ -71,6 +71,17 @@ jobs:
|
||||
with:
|
||||
token: "${{ steps.oauth-token.outputs.token }}"
|
||||
|
||||
- name: Renovate Cache
|
||||
id: renovate-cache
|
||||
uses: actions/cache@v4
|
||||
if: github.event.inputs.cache != 'disabled'
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: "${{ env.GH_CACHE_DIR }}"
|
||||
key: "renovate-cache-${{ runner.os }}-${{ github.run_id }}"
|
||||
restore-keys: |
|
||||
renovate-cache-${{ runner.os }}
|
||||
|
||||
- name: Glue
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -85,17 +96,6 @@ jobs:
|
||||
mkdir -p /tmp/renovate
|
||||
sudo chown -R 12021:$(id -g) /tmp/renovate
|
||||
|
||||
- name: Renovate Cache
|
||||
id: renovate-cache
|
||||
uses: actions/cache@v4
|
||||
if: github.event.inputs.cache != 'disabled'
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: "${{ env.GH_CACHE_DIR }}"
|
||||
key: "renovate-cache-${{ runner.os }}-${{ github.run_id }}"
|
||||
restore-keys: |
|
||||
renovate-cache-${{ runner.os }}
|
||||
|
||||
- name: Renovate
|
||||
uses: renovatebot/github-action@936628dfbff213ab2eb95033c5e123cfcaf09ebb # v41.0.5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user