diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..56e8850eb0 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,34 @@ +# Weekly dependency updates for the GitHub Actions used by the workflows and for the Cargo +# workspace. Minor and patch updates of an ecosystem arrive as one PR; a major update is its +# own PR. Titles read "CI: Bump ..." and "Dependencies: Bump ...". +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + commit-message: + prefix: "CI" + groups: + actions-minor-patch: + patterns: + - "*" + update-types: + - "minor" + - "patch" + + - package-ecosystem: "cargo" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 + commit-message: + prefix: "Dependencies" + groups: + cargo-minor-patch: + patterns: + - "*" + update-types: + - "minor" + - "patch" diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index a5d88d28c5..51d7be6a33 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -19,6 +19,8 @@ permissions: jobs: description: name: PR description + # Dependabot cannot write the Tested / Not tested / AI use sections; a skipped job passes the required check. + if: github.event.pull_request.user.login != 'dependabot[bot]' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4