Skip to content

Commit

Permalink
ci(dep): introduce groups feature in dependabot (#3347)
Browse files Browse the repository at this point in the history
  • Loading branch information
clearloop authored Sep 25, 2023
1 parent dacddf4 commit ea68007
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 183 deletions.
25 changes: 12 additions & 13 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@ version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
labels: ["A0-pleasereview", "A4-insubstantial", "E2-forcemacos"]
labels: ["A4-insubstantial", "E2-forcemacos"]
schedule:
interval: "weekly"
day: "friday"
commit-message:
prefix: "[depbot] "

- package-ecosystem: "cargo"
directory: "/examples/"
labels: ["A0-pleasereview", "A4-insubstantial"]
schedule:
interval: "weekly"
day: "friday"
day: "sunday"
commit-message:
prefix: "[depbot] "
groups:
deps:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: "/"
labels: ["A0-pleasereview", "A4-insubstantial"]
labels: ["A4-insubstantial"]
schedule:
interval: "weekly"
day: "friday"
day: "sunday"
commit-message:
prefix: "[depbot] "
groups:
deps:
patterns:
- "*"
6 changes: 4 additions & 2 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
status:
runs-on: ubuntu-latest
outputs:
skip-ci: ${{ steps.check-commit-message.outputs.skip-ci }}
cache: ${{ steps.check-commit-message.outputs.cache }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -61,7 +62,8 @@ jobs:
check:
needs: status
if: >-
!contains(github.event.pull_request.title, '[skip-ci]') && needs.status.outputs.skip-ci
!contains(github.event.pull_request.title, '[skip-ci]')
&& needs.status.outputs.skip-ci != '1'
uses: ./.github/workflows/check.yml
with:
Expand All @@ -70,7 +72,7 @@ jobs:
build:
needs: status
if: >-
needs.status.outputs.skip-ci && (
needs.status.outputs.skip-ci != '1' && (
contains(github.event.pull_request.labels.*.name, 'A0-pleasereview')
|| contains(github.event.pull_request.labels.*.name, 'A4-insubstantial')
|| contains(github.event.pull_request.labels.*.name, 'A2-mergeoncegreen')
Expand Down
168 changes: 0 additions & 168 deletions .github/workflows/combined-dependabot.yml

This file was deleted.

0 comments on commit ea68007

Please sign in to comment.