name: Dependency updates # A package has no composer.lock, so what goes stale is the range of versions it accepts. Every # Monday this looks for a direct dependency with a release outside its constraint (a new major) and # opens a pull request to the open release branch that accepts it as well; PR CI then tests it and the # pull request merges by itself when it is green. Nothing happens while no release is open. on: schedule: - cron: '0 5 * * 1' workflow_dispatch: jobs: update: runs-on: docker container: image: webdevops/php:8.4 steps: - name: checkout uses: actions/checkout@v4 - name: cache composer downloads uses: actions/cache@v4 with: path: ~/.composer/cache key: composer-dependencies-${{ hashFiles('composer.json') }} restore-keys: | composer-dependencies- - name: widen the constraints run: python3 .gitea/scripts/update_dependencies.py env: COMPOSER_MAX_PARALLEL_HTTP: '4' GT_URL: https://git.iriks.casa GT_OWNER: iriks-it GT_REPO: laravel-manager GT_TOKEN: ${{ secrets.DEPLOY_TOKEN }}