diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2dd4c03..5f26046 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,16 +1,25 @@ -# 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/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file - +# Managed by repo-tools (bin/repo-dependabot). Local edits will be overwritten. +# Customise via .github/repo-tools.conf instead: https://github.com/InboundFrog/repo-tools version: 2 updates: - - package-ecosystem: "cargo" - directory: "/" + - package-ecosystem: github-actions + directories: + - '/' schedule: - interval: "weekly" - - - package-ecosystem: "github-actions" - directory: "/" + interval: weekly + cooldown: + default-days: 3 + groups: + github-actions: + patterns: ["*"] + - package-ecosystem: cargo + directories: + - '/' schedule: - interval: "weekly" + interval: weekly + cooldown: + default-days: 3 + groups: + cargo-minor-patch: + patterns: ["*"] + update-types: [minor, patch] diff --git a/.github/repo-tools.conf b/.github/repo-tools.conf new file mode 100644 index 0000000..0761bcc --- /dev/null +++ b/.github/repo-tools.conf @@ -0,0 +1,5 @@ +# Settings for the generated CI and dependabot.yml. Every key: +# https://github.com/InboundFrog/repo-tools/blob/main/examples/repo-tools.conf + +# hidapi links against libudev. +RUST_APT_PACKAGES=libudev-dev pkg-config diff --git a/.github/workflows/repo-tools-ci.yml b/.github/workflows/repo-tools-ci.yml index ad51d6c..515dafd 100644 --- a/.github/workflows/repo-tools-ci.yml +++ b/.github/workflows/repo-tools-ci.yml @@ -24,6 +24,7 @@ jobs: dir: ['.'] with: working-directory: ${{ matrix.dir }} + apt-packages: 'libudev-dev pkg-config' shell: uses: InboundFrog/repo-tools/.github/workflows/shell.yml@500e0a8474bc5f01dc50320aa0ec4bb5e680c498 # v0.0.1