diff --git a/.gitea/workflows/laravel.yml b/.gitea/workflows/laravel.yml index 43a8da0..d632601 100644 --- a/.gitea/workflows/laravel.yml +++ b/.gitea/workflows/laravel.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: shivammathur/setup-php@v2 with: - php-version: "8.2" + php-version: "8.4" - uses: actions/checkout@v3 - name: Copy .env run: php -r "file_exists('.env') || copy('.env.example', '.env');" diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 461cddb..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,15 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "daily" - - package-ecosystem: "composer" - directory: "/" - schedule: - interval: "daily" diff --git a/.github/workflows/dependency-update.yml b/.github/workflows/dependency-update.yml deleted file mode 100644 index 35a9f06..0000000 --- a/.github/workflows/dependency-update.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: Dependency Update - -on: - schedule: - - cron: "0 20 * * 1" # Mondays 20:00 UTC - workflow_dispatch: {} - -permissions: - contents: write - pull-requests: write - -jobs: - update: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - - - uses: shivammathur/setup-php@v2 - with: - php-version: "8.4" - tools: composer:v2 - - - name: Install current deps - run: | - npm ci - composer install --no-interaction --no-progress - - - name: Update deps - run: | - npm update - composer update --no-interaction --no-progress - - - name: Detect changes - id: changes - run: | - if git diff --quiet; then - echo "changed=false" >> "$GITHUB_OUTPUT" - else - echo "changed=true" >> "$GITHUB_OUTPUT" - fi - - # - name: Create PR - # if: steps.changes.outputs.changed == 'true' - # uses: peter-evans/create-pull-request@v6 - # with: - # commit-message: "Dependency update" - # title: "Dependency update" - # body: "Automated dependency update." - # branch: "bot/dependency-update" - # delete-branch: true - - - name: Commit and push - if: steps.changes.outputs.changed == 'true' - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git commit -am "Dependency update" - git push origin HEAD:main diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml deleted file mode 100644 index 43a8da0..0000000 --- a/.github/workflows/laravel.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Laravel - -on: - push: - branches: ["main"] - -jobs: - laravel-tests: - runs-on: ubuntu-latest - - steps: - - uses: shivammathur/setup-php@v2 - with: - php-version: "8.2" - - uses: actions/checkout@v3 - - name: Copy .env - run: php -r "file_exists('.env') || copy('.env.example', '.env');" - - name: Install Dependencies - run: composer install -q --no-interaction --no-progress --prefer-dist - - name: Generate key - run: php artisan key:generate - - name: Directory Permissions - run: chmod -R 777 storage bootstrap/cache - - name: Create Database - run: | - mkdir -p database - touch database/database.sqlite - - name: Execute tests (Unit and Feature tests) via PHPUnit - env: - DB_CONNECTION: sqlite - DB_DATABASE: database/database.sqlite - run: vendor/bin/phpunit - - name: Install Node.js - uses: actions/setup-node@v2 - with: - node-version: "16.x" - - name: Install dependencies - run: npm ci - - name: Run Vue tests - env: - LARAVEL_BYPASS_ENV_CHECK: "1" - run: npm run test diff --git a/renovate.json b/renovate.json index ec43778..d1c618c 100644 --- a/renovate.json +++ b/renovate.json @@ -1,11 +1,24 @@ { - "extends": [ - "config:base" - ], - "packageRules": [ - { - "updateTypes": ["minor", "patch", "pin", "digest"], - "automerge": true - } - ] -} \ No newline at end of file + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ], + "automerge": true, + "platformAutomerge": true, + "requiredStatusChecks": null, + "packageRules": [ + { + "matchUpdateTypes": [ + "patch" + ], + "automerge": true + }, + { + "matchUpdateTypes": [ + "minor", + "major" + ], + "automerge": false + } + ] +}