diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 83f65b38..5495e321 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,27 +3,43 @@ updates: # upgrade cargo patch versions once per week # see `workflows/upgrade.yml` - # major and minor cargo upgrades only once per week + # disabled for now for testing... + # # upgrade major and minor cargo dependencies soon + # - package-ecosystem: "cargo" + # directory: "/" + # schedule: + # interval: "daily" + # allow: + # - update-types: + # - "major" + # - "minor" + # # open-pull-requests-limit: 0 # temporarily disable dependabot + - package-ecosystem: "cargo" directory: "/" schedule: interval: "weekly" day: "monday" - time: "06:00" + time: "04:12" timezone: "Europe/Berlin" + # allow: + # - update-types: + # - "patch" groups: - weekly-patch-updates: + # group patches for better visibility + weekly-cargo-patches: applies-to: "version-updates" patterns: - "*" update-types: - - "major" - - "minor" - # open-pull-requests-limit: 0 # temporarily disable dependabot + - "patch" - # upgrade all GitHub Actions soon + # upgrade all GitHub Actions once per week - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "daily" + interval: "weekly" + day: "monday" + time: "04:23" + timezone: "Europe/Berlin" # open-pull-requests-limit: 0 # temporarily disable dependabot diff --git a/.github/workflows/cargo-update.yml b/.github/workflows/cargo-update.yml deleted file mode 100644 index 454d13c3..00000000 --- a/.github/workflows/cargo-update.yml +++ /dev/null @@ -1,68 +0,0 @@ -name: Cargo Update - -on: - workflow_dispatch: - - schedule: - - cron: "23 4 * * 1" - -concurrency: - group: cargo-update - cancel-in-progress: false - -jobs: - cargo-update: - name: Update Cargo dependencies - runs-on: ubicloud-standard-2 - - permissions: - contents: write - pull-requests: write - - steps: - - name: Check out repository - uses: actions/checkout@v7 - with: - persist-credentials: false - ref: main - fetch-depth: 0 # fetch entire git history - - - name: cargo update - run: cargo update --verbose - - name: Validate updated lockfile - run: cargo metadata --locked --no-deps > /dev/null - - name: cargo vet regenerate exemptions - run: cargo vet regenerate exemptions - - - name: Create pull request - uses: peter-evans/create-pull-request@v8 - with: - token: ${{ secrets.CARGO_UPDATE_TOKEN || github.token }} - - base: main - branch: automation/cargo-update - delete-branch: true - - add-paths: | - Cargo.lock - supply-chain/ - - commit-message: "chore(deps): cargo update" - title: "chore(deps): cargo update" - - body: | - This pull request was generated automatically by GitHub Workflow `Cargo Update`. - - It executes: - - ```bash - cargo update - cargo vet regenerate exemptions - ``` - - labels: | - dependencies - rust - maintenance - - draft: false