Skip to content

Commit

Permalink
Onboard dependabot workflows (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
purple-team-service-user authored Sep 18, 2023
1 parent f4f1e73 commit 74979ac
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
version: 2
updates:
- package-ecosystem: gomod
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
interval: "daily"
labels:
- "dependencies"
commit-message:
prefix: "feat"
include: "scope"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
commit-message:
prefix: "feat"
include: "scope"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
9 changes: 9 additions & 0 deletions .github/workflows/approve-dependabot-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Approve dependabot PR

on: pull_request

jobs:
approve:
uses: adevinta/vulcan-cicd/.github/workflows/reusable-approve-dependabot-pr.yml@v1
secrets:
PAT: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/release-dependabot-updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release dependabot updates

on:

# To generate a release on every update
# push:
# branches: master

# To group dependabot updates in the same release
schedule:
- cron: '30 5 * * *'

# To allow manual execution
workflow_dispatch:

jobs:
release:
uses: adevinta/vulcan-cicd/.github/workflows/reusable-release-dependabot-updates.yml@v1

0 comments on commit 74979ac

Please sign in to comment.