PR — Ouverture automatique / create-pr (push) Canceled after 0s
- GET /folders: allow listing children of intermediate folders leading to a shared descendant (canTraverse), filter children in application code since MariaDB forbids correlated recursive CTEs - Admin user deletion: shared folders are transferred to their best permission holder (admin > write > read, oldest); unshared folders are soft-deleted with their subtree; a shared child whose parent disappears is moved to root; permissions and stars of the deleted account are cleaned up - CI: label runners as [self-hosted, cohaise-cloud] to match the new dedicated gitea-runner
34 lines
924 B
YAML
34 lines
924 B
YAML
name: Renovate
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 4 * * 1"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: renovate
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
renovate:
|
|
runs-on: [self-hosted, cohaise-cloud]
|
|
steps:
|
|
- name: Mettre à jour les dépendances
|
|
env:
|
|
RENOVATE_PLATFORM: gitea
|
|
RENOVATE_ENDPOINT: ${{ github.server_url }}
|
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
|
RENOVATE_REPOSITORIES: ${{ github.repository }}
|
|
run: |
|
|
set -eu
|
|
mkdir -p /srv/apps/cohaise-cloud/renovate-cache
|
|
docker run --rm \
|
|
-e RENOVATE_PLATFORM \
|
|
-e RENOVATE_ENDPOINT \
|
|
-e RENOVATE_TOKEN \
|
|
-e RENOVATE_REPOSITORIES \
|
|
-e RENOVATE_ONBOARDING=false \
|
|
-e LOG_LEVEL=info \
|
|
-v /srv/apps/cohaise-cloud/renovate-cache:/tmp/renovate \
|
|
ghcr.io/renovatebot/renovate:latest
|