diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5f44823a..32526d48 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,12 +4,25 @@ updates: 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 31f8745b..c0cc43b7 100644 --- a/.github/workflows/check_changelog.yml +++ b/.github/workflows/check_changelog.yml @@ -9,10 +9,8 @@ permissions: jobs: check-changelog: - runs-on: ubuntu-22.04 - if: | - !contains(github.event.pull_request.labels.*.name, 'skip changelog') && - !contains(github.event.pull_request.labels.*.name, 'dependencies') + runs-on: ubuntu-latest + if: (!contains(github.event.pull_request.labels.*.name, 'skip changelog')) steps: - name: Checkout uses: actions/checkout@v4