diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b933ebdf..32526d48 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,19 +1,28 @@ version: 2 updates: - - package-ecosystem: "bundler" - directory: "/" - schedule: - interval: "monthly" - package-ecosystem: "cargo" directory: "/" schedule: interval: "monthly" + labels: + - "dependencies" + - "rust" + - "skip changelog" groups: + # Note: The group order matters, since updates are assigned to the first matching group. libcnb: patterns: - "libcnb*" - "libherokubuildpack" + rust-dependencies: + update-types: + - "minor" + - "patch" - package-ecosystem: "github-actions" directory: "/" schedule: interval: "monthly" + labels: + - "dependencies" + - "github actions" + - "skip changelog" diff --git a/.github/workflows/check_changelog.yml b/.github/workflows/check_changelog.yml index e1e09400..c0cc43b7 100644 --- a/.github/workflows/check_changelog.yml +++ b/.github/workflows/check_changelog.yml @@ -2,7 +2,7 @@ name: Check Changelog on: pull_request: - types: [opened, reopened, edited, labeled, unlabeled, synchronize] + types: [opened, reopened, labeled, unlabeled, synchronize] permissions: contents: read @@ -10,12 +10,7 @@ permissions: jobs: check-changelog: runs-on: ubuntu-latest - if: | - !contains(github.event.pull_request.body, '[skip changelog]') && - !contains(github.event.pull_request.body, '[changelog skip]') && - !contains(github.event.pull_request.body, '[skip ci]') && - !contains(github.event.pull_request.labels.*.name, 'skip changelog') && - !contains(github.event.pull_request.labels.*.name, 'dependencies') + if: (!contains(github.event.pull_request.labels.*.name, 'skip changelog')) steps: - name: Checkout uses: actions/checkout@v4